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

Error during installation #16

Open
Miner34dev opened this issue Nov 9, 2023 · 5 comments
Open

Error during installation #16

Miner34dev opened this issue Nov 9, 2023 · 5 comments

Comments

@Miner34dev
Copy link

This is the output of pip install nevopy:

Collecting nevopy
Using cached nevopy-0.2.3-py3-none-any.whl (117 kB)
Collecting Columnar~=1.3.1 (from nevopy)
Using cached Columnar-1.3.1-py3-none-any.whl (11 kB)
Collecting gym~=0.17.3 (from nevopy)
Using cached gym-0.17.3.tar.gz (1.6 MB)
Preparing metadata (setup.py) ... done
Collecting matplotlib~=3.3.3 (from nevopy)
Using cached matplotlib-3.3.4.tar.gz (37.9 MB)
Preparing metadata (setup.py) ... done
Collecting networkx~=2.5 (from nevopy)
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting numpy~=1.19.5 (from nevopy)
Using cached numpy-1.19.5.zip (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of nevopy to determine which version is compatible with other requirements. This could take a while.
Collecting nevopy
Using cached nevopy-0.2.2-py3-none-any.whl (117 kB)
Using cached nevopy-0.2.1-py3-none-any.whl (117 kB)
Using cached nevopy-0.2.0-py3-none-any.whl (117 kB)
Using cached nevopy-0.1.1-py3-none-any.whl (112 kB)
Using cached nevopy-0.1.0-py3-none-any.whl (111 kB)
Using cached nevopy-0.0.2-py3-none-any.whl (93 kB)
Collecting mypy~=0.790 (from nevopy)
Using cached mypy-0.991-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB)
Collecting nevopy
Using cached nevopy-0.0.1-py3-none-any.whl (93 kB)
INFO: pip is still looking at multiple versions of nevopy to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install nevopy==0.0.1, nevopy==0.0.2, nevopy==0.1.0, nevopy==0.1.1, nevopy==0.2.0, nevopy==0.2.1, nevopy==0.2.2 and nevopy==0.2.3 because these package versions have conflicting dependencies.

The conflict is caused by:
nevopy 0.2.3 depends on ray~=1.1.0
nevopy 0.2.2 depends on ray~=1.1.0
nevopy 0.2.1 depends on ray~=1.1.0
nevopy 0.2.0 depends on ray~=1.1.0
nevopy 0.1.1 depends on ray~=1.1.0
nevopy 0.1.0 depends on ray~=1.1.0
nevopy 0.0.2 depends on ray~=1.1.0
nevopy 0.0.1 depends on ray~=1.1.0

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
@canoztas
Copy link

Have you find a solution ?

@Miner34dev
Copy link
Author

No

@Victor4X
Copy link

Victor4X commented Feb 4, 2024

I made a fork that works with the colab example, but I don't know if every other feature works as expected.
Link to commit that works as of writing this: https://github.com/Victor4X/nevopy/tree/c55f324e9dfc92702de4cf87478acd359534adf8

@Miner34dev
Copy link
Author

It doesn't work: error: protobuf 4.25.2 is installed but protobuf<4.24,>=3.19.6 is required by {'tensorboard'}
Looking into the dependencies of the dependencies i found out that it's being installed by ray.

@BekirSitki
Copy link

Had the same problem using python v3.10, tried downgrading to v3.9 and didn't work because ray 1.1.0 can't be installed with python 3.8+. Downgrading the python version to 3.8.0 solved the problem for me and i think it's the only option.

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

4 participants