Giter VIP home page Giter VIP logo

Comments (5)

stevengum avatar stevengum commented on May 20, 2024

Edit:
You might need to uninstall the current version of msrest that you have in your environment.


@zerlok to use the BotFrameworkAdapter and the async operations on the ConnectorClient, you'll need to use a specific commit from the msrest-for-python repo:

git+https://github.com/Azure/msrest-for-python.git@a997e97cd926c1eedfe4e5a3a52a637313fbd4e4

You can install this via the requirements.txt which can be found in the botbuilder-core. This specific requirement can also be found in botframework-connector. Can you try installing that and letting us know if it works?

from botbuilder-python.

zerlok avatar zerlok commented on May 20, 2024

@stevengum thank you for quick respond.

I did your instructions: removd msrest lib and install the specified commit with

pip install -e git+https://github.com/Azure/msrest-for-python.git@a997e97cd926c1eedfe4e5a3a52a637313fbd4e4#egg=msrest

Now the example with async methods is working!

So, will you fix this requirement in botframework-connector? Because I installed the lib in my example and didn't work yesterday. As I understand this - it didn't retrieve the specified commit from msrest.

from botbuilder-python.

stevengum avatar stevengum commented on May 20, 2024

@zerlok, once the async branch of msrest gets merged into master, using the setup.py dependencies will suffice. Until then, devs will need to pip install -r requirements.txt to get access to the async goodness (and use the SDK 😢).

Any of the requirements.txt from the libraries in the repo will work, along with the samples' requirement.txt except for the "Echo-Connector-Bot" all have this dependency.

from botbuilder-python.

stevengum avatar stevengum commented on May 20, 2024

Closing this issue, if you run into another similar issue please open a new one and provide the same level of detail.

from botbuilder-python.

heitorrapela avatar heitorrapela commented on May 20, 2024

I'm having this problem and I can't fix it with pip install -e git+https://github.com/Azure/msrest-for-python.git@a997e97cd926c1eedfe4e5a3a52a637313fbd4e4#egg=msrest (The command is not working: Command "git reset --hard -q a997e97cd926c1eedfe4e5a3a52a637313fbd4e4" failed with error code 128 in ./botbuilder-python/samples/Rich-Cards-Bot/src/msrest
)

from botbuilder-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.