-
Notifications
You must be signed in to change notification settings - Fork 435
9_NumPy
Lori A. Burns edited this page Apr 28, 2017
·
3 revisions
STOP! This page is out-of-date and is superseded by the docs
In Psi4, NumPy performs array manipulations in the Python driver.
-
Dependency Status: Required
-
##### How to fix error
ImportError: No module named numpy
NumPy is not a build requirement for Psi4, so there's no need to specify it in setup or CMake configuration. NumPy is a runtime requirement for Psi4, though, so install it through whatever package manager you prefer. It should be available through
import numpy
from whatever python interpreter has been embedded into Psi4. -
Packages to install for specific OS or package managers:
- Conda
numpy
(conda install numpy
) - Fedora
numpy
(sudo yum install numpy
) - Ubuntu
python-numpy
(sudo apt-get install python-numpy
)
- Conda