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

openhands installation issue using pip install openhands #54

Open
jothiramcm opened this issue Jan 24, 2025 · 0 comments
Open

openhands installation issue using pip install openhands #54

jothiramcm opened this issue Jan 24, 2025 · 0 comments

Comments

@jothiramcm
Copy link

initially i used python 3.12 and try to install ophenhands but it shows issues stating that it requires setuptools, so i installed it by using pip install setuptools then i try to install openhands again it shows distutils error which because of it requires numpy==1.19.5 . then i installed python 3.9.11 and try to install the openhands again this shows a new error

pip install openhands
Collecting openhands
Using cached OpenHands-0.1.4.1-py3-none-any.whl.metadata (2.4 kB)
Collecting numpy==1.19.5 (from openhands)
Using cached numpy-1.19.5-cp39-cp39-win_amd64.whl.metadata (2.0 kB)
Collecting albumentations==0.5.2 (from openhands)
Using cached albumentations-0.5.2-py3-none-any.whl.metadata (30 kB)
Collecting tqdm==4.59.0 (from openhands)
Using cached tqdm-4.59.0-py2.py3-none-any.whl.metadata (56 kB)
Collecting omegaconf==2.1.0 (from openhands)
Using cached omegaconf-2.1.0-py3-none-any.whl.metadata (3.6 kB)
Collecting pytorch-lightning==1.4.8 (from openhands)
Using cached pytorch_lightning-1.4.8-py3-none-any.whl.metadata (32 kB)
Collecting pytorchvideo==0.1.1 (from openhands)
Using cached pytorchvideo-0.1.1.tar.gz (99 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting hydra-core==1.1.0 (from openhands)
Using cached hydra_core-1.1.0-py3-none-any.whl.metadata (4.1 kB)
Collecting torch (from openhands)
Using cached torch-2.5.1-cp39-cp39-win_amd64.whl.metadata (28 kB)
INFO: pip is looking at multiple versions of openhands to determine which version is compatible with other requirements. This could take a while.
Collecting openhands
Using cached OpenHands-0.1.4-py3-none-any.whl.metadata (2.4 kB)
Using cached OpenHands-0.1.3-py3-none-any.whl.metadata (1.7 kB)
Using cached OpenHands-0.1.2-py3-none-any.whl.metadata (1.7 kB)
Using cached OpenHands-0.1.1-py3-none-any.whl.metadata (1.7 kB)
Using cached OpenHands-0.1-py3-none-any.whl.metadata (1.7 kB)
Collecting torch==1.9.0 (from openhands)
Using cached torch-1.9.0-cp39-cp39-win_amd64.whl.metadata (25 kB)
ERROR: Cannot install openhands==0.1, openhands==0.1.1, openhands==0.1.2, openhands==0.1.3, openhands==0.1.4 and openhands==0.1.4.1 because these package versions have conflicting dependencies.

The conflict is caused by:
openhands 0.1.4.1 depends on mediapipe==0.8.7.3
openhands 0.1.4 depends on mediapipe==0.8.7.3
openhands 0.1.3 depends on mediapipe==0.8.7.3
openhands 0.1.2 depends on mediapipe==0.8.7.3
openhands 0.1.1 depends on mediapipe==0.8.7.3
openhands 0.1 depends on mediapipe==0.8.7.3

To fix this you could try to:

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

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

1 participant