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

Dependency conflicts #56

Open
JadisInka opened this issue Dec 4, 2023 · 1 comment
Open

Dependency conflicts #56

JadisInka opened this issue Dec 4, 2023 · 1 comment

Comments

@JadisInka
Copy link

Hi,

I encountered this problem when trying to install the CUDA 11 cryocare: tensor flow requires bumpy 19.2, but other dependencies require a higher version:
cupy-cuda110 12.2.0 requires numpy<1.27,>=1.20, but you have numpy 1.19.5 which is incompatible. cupy-cuda11x 12.2.0 requires numpy<1.27,>=1.20, but you have numpy 1.19.5 which is incompatible. matplotlib 3.7.2 requires numpy>=1.20, but you have numpy 1.19.5 which is incompatible.

Thanks in advance!

Sabina

@schloegl
Copy link

numpy~=1.19.2 is also to restricting in my environment (python 3.10, cuda/12.2.2). I'm wondering whether this requirement can be relaxed, e.g. like this

diff --git a/setup.py b/setup.py
index 52c9c67..8689325 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setuptools.setup(
     ],
     python_requires='>=3.8',
     install_requires=[
-        "numpy~=1.19.2",
+        "numpy>=1.19.2",
         "mrcfile",
         "csbdeep>=0.7.0,<0.8.0",
         "psutil"

Installation does work then for me. I get numpy/1.26.4. Do you see any negative side effects doing this ?

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