nicknochnack / MLTradingBot

708 stars 280 forks source link

pip websocket errors #3

Open coininstant opened 5 months ago

coininstant commented 5 months ago

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 commented 5 months ago

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