Comments (8)
pip wheels for python 3.8 are online! Could you please try to install it again?
from osqp-python.
Can confirm, still an issue with python3.8
.
from osqp-python.
Simple way to reproduce:
Python 3.8
$ docker run --rm python:3.8 pip install "osqp<0.7.0,>=0.6.1"
Collecting osqp<0.7.0,>=0.6.1
Downloading osqp-0.6.1.tar.gz (211 kB)
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8osz6n43/osqp/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8osz6n43/osqp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-8osz6n43/osqp/pip-egg-info
cwd: /tmp/pip-install-8osz6n43/osqp/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-8osz6n43/osqp/setup.py", line 11, in <module>
import numpy
ModuleNotFoundError: No module named 'numpy'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Python 3.7
$ docker run --rm python:3.7 pip install "osqp<0.7.0,>=0.6.1"
Collecting osqp<0.7.0,>=0.6.1
Downloading osqp-0.6.1-cp37-cp37m-manylinux2010_x86_64.whl (211 kB)
Collecting numpy>=1.7
Downloading numpy-1.18.2-cp37-cp37m-manylinux1_x86_64.whl (20.2 MB)
Collecting future
Downloading future-0.18.2.tar.gz (829 kB)
Collecting scipy>=0.13.2
Downloading scipy-1.4.1-cp37-cp37m-manylinux1_x86_64.whl (26.1 MB)
Building wheels for collected packages: future
Building wheel for future (setup.py): started
Building wheel for future (setup.py): finished with status 'done'
Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=f9cf8ad3d489cff2b5fbbfddb8fae9e80808023e5352912be4930552dd09ae81
Stored in directory: /root/.cache/pip/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0
Successfully built future
Installing collected packages: numpy, future, scipy, osqp
Successfully installed future-0.18.2 numpy-1.18.2 osqp-0.6.1 scipy-1.4.1
So apparently the problem is that there is no whl
packaged for Python 3.8. docker run --rm python:3.7 pip install --no-binary :all: "osqp<0.7.0,>=0.6.1"
fails with the same error as the Python 3.8 output above.
from osqp-python.
cvxpy has an upgrade issue to python3.8 because of this problem...
from osqp-python.
Sorry about the delay, last months were not easy! I am trying to build the wheels for Python 3.8 here. I hope to have it in the next few days. We will have more releases with better deployment tools this summer.
from osqp-python.
Could you please try to install it again?
Yep, I can confirm it works now. thanks! 🙂
(for the record: tested with python 3.8.2 and pip 20.1)
from osqp-python.
Awesome! Thanks for your patience. I will close the issue. Feel free to reopen it if you have any other problems.
from osqp-python.
Awesome! Thanks for your patience.
No worries ;) Thanks for taking the time to fix the issue
from osqp-python.
Related Issues (20)
- Error in building wheel for osqp because "No module named cmake' " HOT 1
- No wheels for Python 3.11 HOT 1
- Cannot install osqp on MacOSX HOT 3
- Numpy 1.24 breaks builtin type aliases HOT 1
- symbol not found in flat namespace '_csc_matrix'
- Python solve is faster than C code-generated one HOT 4
- FLOAT codegen argument doesn't work as expected
- Install fails because of metadata version on Mac OS HOT 14
- Apparent non-determinism when using OSQP via CVXPY HOT 5
- Turn solving verbosity off HOT 1
- no ‘cuda pcg’ support
- OSQP.update and scaling error
- unit test failures with scipy 1.12 HOT 2
- Enhancements for skbuild migration HOT 1
- Add derivatives parallelization
- Wrap generated C code with tiny python functionalities HOT 1
- Integrate new codegen with cvxpygen HOT 1
- Add CONTRIBUTING.md
- Support codegen in editable install HOT 1
- Add macOS arm64 wheel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osqp-python.