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

numpy version is too old #163

Open
dipterix opened this issue Feb 9, 2025 · 1 comment
Open

numpy version is too old #163

dipterix opened this issue Feb 9, 2025 · 1 comment

Comments

@dipterix
Copy link
Contributor

dipterix commented Feb 9, 2025

Somehow pip install antspynet will cause numpy to be downgraded:

Installing collected packages: numpy
  Attempting uninstall: numpy
    Found existing installation: numpy 2.0.1
    Uninstalling numpy-2.0.1:
      Successfully uninstalled numpy-2.0.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
lunapi 0.1.2 requires numpy>=2, but you have numpy 1.26.4 which is incompatible.
Successfully installed numpy-1.26.4

It seems that pip somehow respects the requirements.txt (or tensorflow)

numpy==1.26.4

to set numpy. Is there any way to avoid this?

@ntustison
Copy link
Member

Somehow pip install antspynet will cause numpy to be downgraded:

Due to incapabilities with other packages, e.g.., tensorflow.

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