-
Notifications
You must be signed in to change notification settings - Fork 41
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
Cannot install osqp on MacOSX #102
Comments
Experiencing the same error when cmake is installed from pip
Tried to install in a python:3.9 docker container (architecture:arm64) and in an python 3.9 macOS arm64 conda environment It seems that the installation process has problems specifically with cmake installed from pip as it works correctly on when cmake is installed from brew (macos) or apt (debian/ubuntu) @vineetbansal do you think this can be mitigated by providing a full path to cmake in the |
@semolas, @piiq - I'd suggest doing a |
I have this problem with
I run it in a Python virtual env. I install
When installing
However, with exactly the same env and steps, I can install |
I am trying to install osqp on MacOSX (v12.5.1).
1 - Trying pip install osqp==0.6.2.post5, fails, here are a few relevant lines from all the output:
Building wheels for collected packages: osqp
Building wheel for osqp (pyproject.toml) ... error
error: subprocess-exited-with-error
running build_ext
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/cmake", line 5, in
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
However cmake is installed with cmake --version of 3.24.3
2 - Following the installation procedure (python3 setup.py install), manages running build_ext but fails later; steps from: https://osqp.org/docs/get_started/python.html
Installed /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/osqp-0.0.0-py3.10-macosx-10.9-universal2.egg
Processing dependencies for osqp==0.0.0
Searching for osqp==0.0.0
Reading https://pypi.org/simple/osqp/
Download error on https://pypi.org/simple/osqp/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) -- Some packages may not be found!
Couldn't find index page for 'osqp' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) -- Some packages may not be found!
No local packages or working download links found for osqp==0.0.0
What should I do?
Additional infos:
python3 -V -> 3.10.4
The text was updated successfully, but these errors were encountered: