You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to load numpy after installing it but I keep getting the following error. Could anyone please help me with that?
I already tried downgrading numpy upgrading scipy non worked, and I am not sure what can I do without sudoer permission
Thanks in advance
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
The Python version is: Python3.8 from "/gpfs/share/opt/spack/opt/spack/linux-centos7-skylake_avx512/gcc-9.2.0/miniconda3-4.8.2-sbqd2xuujanbjetlisyadekq4izf3lfw/bin/python"
The NumPy version is: "1.23.0"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: libgfortran.so.5: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
The problem may be that the install of numpy was through pip instead of conda, and thus that numpy used is from ComputeCanada wheelhouse. Using a mixture of pip and conda commands can lead to problematic outcomes with miniconda/anaconda environments.
However, if you do use pip to install python packages in your conda env - it is suggested to use conda for all common python requirements and then use pip at the end, to install any remaining packages not found in conda-forge.
When I try to reproduce the issue, I get a missing library and segfault after doing: pip install numpy. However, when I uninstall numpy from pip and then install it using: conda install numpy I can import numpy in python 3.8 with-out issue and it finds all the run-time libs.
It is also possible you can use the following first, prior to activating your env to avoid CC CVMFS dependencies:
$ echo base > ~/.config/nrc_profile
Then login again in another window:
$ module load miniconda3
When you want to use CC CVMFS again, simply remove the nrc_profile file.
I am trying to load numpy after installing it but I keep getting the following error. Could anyone please help me with that?
I already tried downgrading numpy upgrading scipy non worked, and I am not sure what can I do without sudoer permission
Thanks in advance
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
Please note and check the following:
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: libgfortran.so.5: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: