Closed dGarVaqFer closed 4 months ago
Could you please try #2189 or if it still does not work, could you find version of cvxpy that does not cause the issue here https://github.com/Qiskit/qiskit-aer/pull/2189/files
Thanks! Installing 1.4.4 version for cvxpy dependency worked for me.
Best regards
Informations
What is the current behavior?
In a clean instance, I have installed build-essential and libopenblas-dev packages. After that, I have cloned qiskit-aer repo and when I try to install the dependencies listed in the requirements-dev.txt file, I get the following error when building the cvxpy library:
error: cannot convert ‘PyObject*’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
Complete log:
Steps to reproduce the problem
Install build-essential and libopenblas-dev packages
Clone qiskit-aer from https://github.com/Qiskit/qiskit-aer
pip install -r requirements-dev.txt refer to CONTRIBUTING.md
What is the expected behavior?
Complete the installation without any errors.
Suggested solutions
As additional information, I have executed the same steps in an Ubuntu 20.04 EC2 instance and I can install qiskit-aer from source without errors. I suppose that maybe the issue is related with version of C++ compiler or something that has changed between Ubuntu versions.
Thanks!!