-
Notifications
You must be signed in to change notification settings - Fork 4
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
build/install tools + the release of numpy==1.20 broke installing cvxpy on Linux and in Docker #1040
Comments
Workaround 3: install Workaround 1 seems to work for the master branch. |
The wcm-runtime Docker Image in WholeCellEcoliRelease still builds and loads cvxpy! Building that Python 2.7 environment on Sherlock failed to compile |
When building a `wcm-runtime` Docker Image, make the default be to install numpy & scipy from wheels with their embedded copies of OpenBLAS. It's **much faster** and it's the usual approach so we're less likely to hit installer bugs like #1040. The reason for compiling OpenBLAS from source was originally to get a bug fix and later to avoid the AVX2 problem building it in Docker-for-Mac. This does change Parca outputs but that's all part of #931.
Fixed by #1045. |
See pypa/pip#9542
python -c "import cvxpy"
. It should not throw aRuntimeError
or anImportError
.See https://github.com/cvxgrp/cvxpy/issues/1229
See pypa/pip#9542
Workaround 1: Update to cvxpy==1.1.10 which uses a
pyproject.toml
feature called "oldest-supported-numpy" to workaround this problem (for how long?).I'll do this soon and have updated virtualenv
wcEcoli3-staging
on Sherlock.Workaround 2: Update the wcEcoli project to numpy=1.20.1 and reinstall cvxpy. This will work until the next numpy binary incompatibility. I'm planning to test numpy=1.20 soon but it has deprecations to deal with, maybe API changes to deal with, and lots of code cleanup (removing Python 2.7 relics) which suggests lots of testing.
The text was updated successfully, but these errors were encountered: