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 install -U "vectorbt[full]" not working #784

Open
immi-10 opened this issue Mar 31, 2025 · 1 comment
Open

pip install -U "vectorbt[full]" not working #784

immi-10 opened this issue Mar 31, 2025 · 1 comment

Comments

@immi-10
Copy link

immi-10 commented Mar 31, 2025

Hello, im not very experienced in python but already tried quite some commands without luck. :(

pip install "git+https://github.com/polakowo/vectorbt.git@master#egg=vectorbt[full]"
gives a similar error!

Apple M4
Python 3.13.1
pip 25.0.1

Command: pip install -U "vectorbt[full]" not working

ERROR: Cannot install vectorbt[full]==0.26.0, vectorbt[full]==0.26.1, vectorbt[full]==0.26.2, vectorbt[full]==0.27.0, vectorbt[full]==0.27.1 and vectorbt[full]==0.27.2 because these package versions have conflicting dependencies.

The conflict is caused by:
vectorbt[full] 0.27.2 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.27.1 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.27.0 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.26.2 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.26.1 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.26.0 depends on ray>=1.4.1; extra == "full"

Full Log:

Collecting vectorbt[full]
Using cached vectorbt-0.27.2-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: numpy>=1.16.5 in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (2.1.3)
Requirement already satisfied: pandas in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (2.2.3)
Requirement already satisfied: scipy in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (1.15.2)
Requirement already satisfied: matplotlib in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (3.10.1)
Requirement already satisfied: plotly<6.0.0,>=4.12.0 in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (5.24.1)
Requirement already satisfied: ipywidgets>=7.0.0 in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (8.1.5)
Requirement already satisfied: numba>=0.57.0 in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (0.61.0)
Requirement already satisfied: dill in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (0.3.9)
Requirement already satisfied: tqdm in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (4.67.1)
Requirement already satisfied: dateparser in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (1.2.1)
Requirement already satisfied: imageio in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (2.37.0)
Requirement already satisfied: scikit-learn in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (1.6.1)
Requirement already satisfied: schedule in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (1.2.2)
Requirement already satisfied: requests in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (2.32.3)
Requirement already satisfied: pytz in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (2025.2)
Requirement already satisfied: mypy_extensions in ./venv/lib/python3.13/site-packages (from vectorbt[full]) (1.0.0)
Collecting yfinance>=0.2.22 (from vectorbt[full])
Using cached yfinance-0.2.55-py2.py3-none-any.whl.metadata (5.8 kB)
Collecting python-binance (from vectorbt[full])
Using cached python_binance-1.0.28-py2.py3-none-any.whl.metadata (13 kB)
Collecting ccxt>=4.0.14 (from vectorbt[full])
Using cached ccxt-4.4.71-py2.py3-none-any.whl.metadata (131 kB)
Collecting alpaca-py (from vectorbt[full])
Using cached alpaca_py-0.39.1-py3-none-any.whl.metadata (13 kB)
INFO: pip is looking at multiple versions of vectorbt[full] to determine which version is compatible with other requirements. This could take a while.
Collecting vectorbt[full]
Using cached vectorbt-0.27.1-py3-none-any.whl.metadata (12 kB)
Using cached vectorbt-0.27.0-py3-none-any.whl.metadata (11 kB)
Using cached vectorbt-0.26.2.tar.gz (485 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy<2.0.0,>=1.16.5 (from vectorbt[full])
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting alpaca-trade-api>=1.4.3 (from vectorbt[full])
Using cached alpaca_trade_api-3.2.0-py3-none-any.whl.metadata (29 kB)
Collecting vectorbt[full]
Using cached vectorbt-0.26.1-py3-none-any.whl.metadata (11 kB)
Using cached vectorbt-0.26.0-py3-none-any.whl.metadata (11 kB)
Collecting alpaca-trade-api==1.4.3 (from vectorbt[full])
Using cached alpaca_trade_api-1.4.3-py3-none-any.whl.metadata (25 kB)
ERROR: Cannot install vectorbt[full]==0.26.0, vectorbt[full]==0.26.1, vectorbt[full]==0.26.2, vectorbt[full]==0.27.0, vectorbt[full]==0.27.1 and vectorbt[full]==0.27.2 because these package versions have conflicting dependencies.

The conflict is caused by:
vectorbt[full] 0.27.2 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.27.1 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.27.0 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.26.2 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.26.1 depends on ray>=1.4.1; extra == "full"
vectorbt[full] 0.26.0 depends on ray>=1.4.1; extra == "full"

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict
@polakowo
Copy link
Owner

polakowo commented Apr 7, 2025

I'm running the same command without issues on M3. Use the base tag, you can install any other optional dependencies manually.

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