Open JanLahmann opened 2 years ago
root cause for the issue has been identified and will be solved with the following PR: https://github.com/Qiskit/qiskit-aer/pull/1380 As I'm not sure when that new version of qiskit-aer will be released, it would be great to have a build on piwheels based on the above procedure, if possible.
I've upgraded numpy and cmake and it still failed. Here's the build log: http://paste.debian.net/1230800/
the build log looks a bit like there's an issue in the build env; maybe the make executable doesn't have the x-bit set.(?)
For me, the following procedure works on a fresh Raspberry Pi OS (verified this yesterday):
sudo apt -y install libatlas-base-dev
sudo pip3 install cmake
sudo pip3 install qiskit-aer
Ok I see the problem. It only works when you build the wheel (or install) with sudo because skbuild (?) tries to chmod the cmake binary, even though it already has x
. Also I'm not sure why it's trying to use /usr/local/lib/python3.9/dist-packages/cmake/data/bin/cmake
when make
and cmake
are both available, executable and in the path.
In piwheels we don't run arbitrary code from the internet as root, for obvious reasons. Builds take place under the piwheels user.
Package name
qiskit-aer
Package version
0.9.1
PyPI URL
https://pypi.org/project/qiskit-aer/
piwheels URL
https://www.piwheels.org/project/qiskit-aer/
Python version
I am the maintainer
More information
It looks like the build of qiskit-aer 0.9.1 failed so far.
The following procedure builds qiskit-aer 0.9.1 on a default install od raspberry pi os (32-bit):
Could you please check and ad the package? Thanks! Jan