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 experiencing an issue while attempting to install pysaber in my environment. The installation process fails when trying to install scikit-learn due to a dependency issue related to OpenBLAS.
Currently Loaded Modules:
StdEnv (S) 2) gcc/12.2.1 3) spectrum-mpi/rolling-release 4) cuda/11.8.0
Below is the relevant part of the error log for pip install . :
...
Run-time dependency openblas found: NO (tried pkgconfig and cmake)
../scipy/meson.build:169:9: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig and cmake
A full log can be found at /tmp/[temporary-path]/meson-logs/meson-log.txt
...
The issue seems to stem from the OpenBLAS dependency not being found during the build process of scipy, which is a dependency of scikit-learn.
Environment details:
Environment name: opence-1.9.1 in lassen
Python version: 3.9
GCC version: 12.2.1
I attempted to install pysaber via pip install . command in my environment. It seems that the requirement for OpenBLAS is not being met or located correctly.
The text was updated successfully, but these errors were encountered:
After doing this, scipy can be installed successfully.
However, matplotlib is still not installed by pypi.
Below can be reproduce by pip install matplotlib.
/p/gpfs1/li93/anaconda/envs/SimpleITK/bin/powerpc64le-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -mcpu=power8 -fPIC -O3 -isystem /p/gpfs1/li93/anaconda/envs/SimpleITK/include -mcpu=power8 -fPIC -O3 -isystem /p/gpfs1/li93/anaconda/envs/SimpleITK/include -mcpu=power8 -mtune=power8 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /p/gpfs1/li93/anaconda/envs/SimpleITK/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /p/gpfs1/li93/anaconda/envs/SimpleITK/include -fPIC -I/p/gpfs1/li93/anaconda/envs/SimpleITK/include/python3.10 -c /var/tmp/tmp0zw4d2sg.cpp -o var/tmp/tmp0zw4d2sg.o -flto
error: Failed to download any of the following: ['https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz', 'https://download.savannah.gnu.org/releases/freetype/freetype-2.6.1.tar.gz', 'https://download.savannah.gnu.org/releases/freetype/freetype-old/freetype-2.6.1.tar.gz']. Please download one of these urls and extract it into 'build/' at the top-level of the source repository.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for matplotlib
Successfully built pysaber
Failed to build matplotlib
ERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects
Remove matplotlib from setup.py and using conda install can solve this issue.
I am experiencing an issue while attempting to install pysaber in my environment. The installation process fails when trying to install scikit-learn due to a dependency issue related to OpenBLAS.
Currently Loaded Modules:
Below is the relevant part of the error log for pip install . :
The issue seems to stem from the OpenBLAS dependency not being found during the build process of scipy, which is a dependency of scikit-learn.
Environment details:
Environment name: opence-1.9.1 in lassen
Python version: 3.9
GCC version: 12.2.1
I attempted to install pysaber via pip install . command in my environment. It seems that the requirement for OpenBLAS is not being met or located correctly.
The text was updated successfully, but these errors were encountered: