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
{{ message }}
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
The QML library cannot be installed in an environment where NumPy is not already installed, for example a fresh virtual environment when installing another project which uses QML as a dependency.
The system is Centos stream 9, I run this code
python3 -m venv venv
source venv/bin/activate
pip install numpy
pip install qml
It has the same error "No module named numpy". "pip install numpy" did not work.
I tried to use Intel compiler (2019) and ifort 19.0.0.117 with MKL, also failed showing " ModuleNotFoundError: No module named 'numpy' "
Description
The QML library cannot be installed in an environment where NumPy is not already installed, for example a fresh virtual environment when installing another project which uses QML as a dependency.
To reproduce
python3 -m venv venv source venv/bin/activate pip install qml
If NumPy is installed beforehand, then it works
python3 -m venv venv source venv/bin/activate pip install numpy pip install qml
How to fix
NumPy should be specified as a dependency in the setup configuration.
The text was updated successfully, but these errors were encountered: