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

Installation issue. #89

Open
jabelieu opened this issue Feb 6, 2025 · 1 comment
Open

Installation issue. #89

jabelieu opened this issue Feb 6, 2025 · 1 comment

Comments

@jabelieu
Copy link

jabelieu commented Feb 6, 2025

I am trying to install using pip3 but I am experiencing difficulty. I execute "pip3 install numpy" within a virtualenv and the following statement is returned :

Requirement already satisfied: numpy in ./lib/python3.12/site-packages (2.2.2)

Then, when I execute "pip3 install aifeynman" I see :

Collecting aifeynman
Using cached aifeynman-2.0.7.tar.gz (219 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

[... truncation of error report...]

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):

  ModuleNotFoundError: No module named 'numpy'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Finally, I do have the gfortran compiler which is discoverable. What should I do from here?

@alxmz2
Copy link

alxmz2 commented Feb 17, 2025

I do have the same issue. Tried to compile from sources and it indicates that it uses numpy.distuils, which was discontinued for python 3.12

I tried installing python 3.11.11 and numpy 2.2.3 and I do receive the same error.

[..truncated...]
File "/tmp/pip-build-env-z0gert8a/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 2, in
ModuleNotFoundError: No module named 'numpy'
[end of output]

Any hint will be appreciated.

If possible provide the python / numpy versions used to compile

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