GithubHelp home page GithubHelp logo

Comments (8)

bstellato avatar bstellato commented on July 28, 2024 1

pip wheels for python 3.8 are online! Could you please try to install it again?

from osqp-python.

arberx avatar arberx commented on July 28, 2024

Can confirm, still an issue with python3.8.

from osqp-python.

tgpfeiffer avatar tgpfeiffer commented on July 28, 2024

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.

AtsushiSakai avatar AtsushiSakai commented on July 28, 2024

cvxpy has an upgrade issue to python3.8 because of this problem...

from osqp-python.

bstellato avatar bstellato commented on July 28, 2024

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.

Kerl13 avatar Kerl13 commented on July 28, 2024

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.

bstellato avatar bstellato commented on July 28, 2024

Awesome! Thanks for your patience. I will close the issue. Feel free to reopen it if you have any other problems.

from osqp-python.

Kerl13 avatar Kerl13 commented on July 28, 2024

Awesome! Thanks for your patience.

No worries ;) Thanks for taking the time to fix the issue

from osqp-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.