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

ModuleNotFoundError: No module named 'numpy' when installing pyradiomics on python 3.12 #872

Open
DerJul-14 opened this issue Mar 11, 2024 · 3 comments
Labels

Comments

@DerJul-14
Copy link

I am trying to install pyradiomics via pip install or from source on a Win 10 computer I get an error report that numpy is not installed evendough it is.

py", line 311, in run_setup
exec(code, locals())
File "", line 7, in
ModuleNotFoundError: No module named 'numpy'
[end of output]

When I check the requirements via 'python -m pip install -r requirements.txt' everything looks good:

Requirement already satisfied: numpy in d:\programme\python\lib\site-packages (from -r requirements.txt (line 1)) (1.26.4)

Any ideas? Is the only solution to run an old python version? Thank you!

  • OS: Windows 10
  • Python version: 3.12
  • PyRadiomics version -
@DerJul-14 DerJul-14 added the bug label Mar 11, 2024
@joaoluizcarvalho
Copy link

I got the same error when trying to install pyradiomics on Fedora 39 (Python 3.12.2).

@zt0214
Copy link

zt0214 commented May 4, 2024

The only solution seems to be install Python 3.9

@dsantiago
Copy link

Just try pip install numpy and see if it solves...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants