I crate a new virtual environment using "virtualenv -p python3 env-name" and then pip install cvxpy. All works fine. However, when I type the code "import cvxpy" I get the following error:
ImportError: "..../env-name/lib/python3.8/site-packages/ scs_direct.cpython-38-x86_64-linux-gnu.so": undefined symbol: dgesv
I have tried directly installing cvxpy from source. It gives the same error. What am I missing?
Try using this for installation in the required virtual environment if using anaconda:
conda install -c conda-forge cvxpy
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.