forked from Qiskit/qiskit-aer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix numpy not found issue when installing (Qiskit#1056)
When doing python ./setup.py install in a clean env, CMake is unable to find numpy. Here we force the installation of numpy if it is not installed before CMake is called. Co-authored-by: Christopher J. Wood <cjwood@us.ibm.com>
- Loading branch information
1 parent
432a35e
commit d516e23
Showing
3 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel", "urllib3<1.26", "conan>=1.22.2", "scikit-build", "cmake!=3.17.1,!=3.17.0", "ninja", "pybind11>2.4", "Cython>0.27.1"] | ||
requires = ["setuptools", "wheel", "urllib3<1.26", "conan>=1.22.2", "scikit-build", | ||
"cmake!=3.17.1,!=3.17.0", "ninja", "pybind11>2.4", "numpy>1.16.3"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
conditional=False): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters