Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip websocket errors #3

Open
coininstant opened this issue Jan 27, 2024 · 1 comment
Open

pip websocket errors #3

coininstant opened this issue Jan 27, 2024 · 1 comment

Comments

@coininstant
Copy link

Backtesting works, but that's as far as i've gotten into testing when i noticed this error.
pip install alpaca-trade-api==3.1.1
however this error shows up:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
alpaca-py 0.14.0 requires websockets<12.0.0,>=11.0.3, but you have websockets 10.4 which is incompatible.
So I ran:
pip install "websockets>=11.0.3,<12.0"

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
alpaca-trade-api 3.1.1 requires websockets<11,>=9.0, but you have websockets 11.0.3 which is incompatible.
Successfully installed websockets-11.0.3

What is the best way to deal with this?

@brussli1
Copy link

Install in a venv with a different version of python interpreter?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants