Conflicting dependency error on Windows machine
See original GitHub issueHello,
I am following the installation steps on anaconda3 and I get the following error:
ERROR: Cannot install cell2location and scvi-tools because these package versions have conflicting dependencies.
The conflict is caused by:
numpyro 0.9.2 depends on jaxlib>=0.1.65
numpyro 0.9.1 depends on jaxlib>=0.1.65
numpyro 0.9.0 depends on jaxlib>=0.1.65
numpyro 0.8.0 depends on jaxlib>=0.1.65
numpyro 0.7.2 depends on jaxlib>=0.1.65
numpyro 0.7.1 depends on jaxlib>=0.1.65
numpyro 0.7.0 depends on jaxlib>=0.1.65
numpyro 0.6.0 depends on jaxlib==0.1.62
scvi-tools 0.15.3 depends on jax>=0.3
flax 0.1.0 depends on jax>=0.1.59
numpyro 0.5.0 depends on jax==0.2.8
scvi-tools 0.15.3 depends on jax>=0.3
flax 0.1.0 depends on jax>=0.1.59
numpyro 0.4.1 depends on jax==0.2.3
numpyro 0.4.0 depends on jaxlib==0.1.55
scvi-tools 0.15.3 depends on jax>=0.3
flax 0.1.0 depends on jax>=0.1.59
numpyro 0.3.0 depends on jax==0.1.73
numpyro 0.2.4 depends on jaxlib==0.1.37
numpyro 0.2.3 depends on jaxlib==0.1.36
numpyro 0.2.2 depends on jaxlib==0.1.36
scvi-tools 0.15.3 depends on jax>=0.3
flax 0.1.0 depends on jax>=0.1.59
numpyro 0.2.1 depends on jax==0.1.49
numpyro 0.2.0 depends on jaxlib==0.1.27
scvi-tools 0.15.3 depends on jax>=0.3
flax 0.1.0 depends on jax>=0.1.59
numpyro 0.1.0 depends on jax==0.1.35
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
Is it possible to loosen the requirements?
Thank you!
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How dow I know which dependencies are conflicting ... - MSDN
Hi, my projects debugs with no error messages until I run it then I get the error message: Could not load file or...
Read more >Cannot complete the install because of a conflicting dependency
This thing creates conflicts of dependency. Eclipse tries to update which is not already existing/installed and it also tells install it first ...
Read more >[Fixed] NPM conflicting peer dependency error
Since NPM version 7.x requires peer dependencies to be explicitly specified, this error will fire whenever a module (or any of its own ......
Read more >ERROR: Cannot install because these package versions have ...
8 because these package versions have conflicting dependencies. The conflict is caused by: The user requested numpy==1.17.2 gluonts 0.8.0 ...
Read more >Dependency hell - Wikipedia
If the shared package or library can only be installed in a single version, the user may need to address the problem by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My windows machine does not have GPU. I ended up getting cell2location installed on a linux cluster and running it there. I have no success in windows.
My best guess would be that the issue is with python user site being used instead of the conda environment. Try using
export PYTHONNOUSERSITE="literallyanyletters"
Before creating and every time before activating the environment.
Are you doing this in the HPC system? This seems to be a very common issues with how permissions on compute cluster work with pip.