New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aer is not compatible with Conan 2.0 API #1730
Comments
Same issue here |
One of the reasons is an environment variable qiskit-aer/cmake/conan_utils.cmake Line 25 in ce9a860
|
I'm guessing that this issue may be resolved with Conan 2.0. So, just taking This is related discussion: conan-io/conan#12701 (comment) |
Thank you for raising this issue. The environment is:
I run the
Conan2.x did not find support for the I hope someone can deal with it in In addition, I also found that according to the current installation tutorial, the pybind11 library has not been installed and needs to be installed through |
Same issue, when installing Aer on Raspberry Pi.
Building from current GitHub source (including #1729 ) works well. The workaround mentioned above (#1730 (comment)) did not work to build Aer 0.11.2 on Raspberry Pi OS. Somehow the install procedure does not use the pre-installed Conan 1.x, but seems to force an install of Conan 2.x. |
I am sorry that I confuse you. The pip to install Conan means that you should do that. If you use the I used the
Then you will install the conan 1.59.0 instead of forcing an install of conan 2.x. |
@JanLahmann Line 5 in 897e51e
I guess that your 0.12.0 will be released in this week. After the release, I believe that, |
This thread was very helpful to me! I actually implemented the solution you described and automated the Qiskit Aer install on Raspberry Pi (for Aer 0.11.2 and 0.11.0 so far). This is the code snipped used:
FYI, this is being used as part of the "RasQberry" project, which builds a functional model of IBM Quantum System One, running Qiskit (Aer) on a Raspberry Pi that is integrated into a 3D printed housing that is modelled after the IBM Quantum System One, see http://rasqberry.org and https://www.youtube.com/watch?v=LZZDI9oBFN8 |
Yes, I tried that and it works well. |
Informations
What is the current behavior?
When Conan 2.0 is used to compile Aer, conan command fails with following message:
Steps to reproduce the problem
What is the expected behavior?
Install finishes without errors.
Suggested solutions
Migrate Conan from 1.X to 2.X.
The text was updated successfully, but these errors were encountered: