-
Notifications
You must be signed in to change notification settings - Fork 39
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
CMake must be installed to build OSQP #4
Comments
It is a good idea. Please make a PR.
…________________________________
From: Krishnan R <notifications@github.com>
Sent: Thursday, May 31, 2018 10:47:21 AM
To: oxfordcontrol/osqp-python
Cc: Subscribed
Subject: [oxfordcontrol/osqp-python] CMake must be installed to build OSQP (#4)
It seems this package needs CMake during a pip install.
RuntimeError: CMake must be installed to build OSQP
If I do pip install cmake it works after.
Can't cmake be added to the setup_requires field in setup.py?
This would make the installation process smoother from many libraries that depend on this one.
I'll make a PR if this can be done?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#4>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGhaqTnntQ8VG4VrShmLh5IMn_IBWGcPks5t37wpgaJpZM4UUvo2>.
|
Thanks! Added it in 4078327 |
I'm sorry this doesn't work as expected. The I tried installing the master branch, but doesn't work. |
The best option is to install cmake separately independently from the language. That's what we suggest in the instructions. The fact that OSQP is not directly installed using a binary is probably because you are using pip and linux (see #3). Note that cmake is also needed for code generation. |
Yes you are right. I guess then CMake is best installed separately. |
I have reverted the commit in 8336546. I will close the issue since it looks like it will not appear again when we release the manylinux binaries. |
Hi. I was installing scikit-survival, which has OSQP as one of its requirements (?), and it kept throwing some errors. I stumbled across this thread and did I'm on a 2016 MacBook Pro macOS 11.0.1 with python 3.8. I don't know if this will inform your development any. |
It seems this package needs CMake during a pip install.
RuntimeError: CMake must be installed to build OSQP
If I do
pip install cmake
it works after.Can't cmake be added to the
setup_requires
field in setup.py?This would make the installation process smoother for many libraries that depend on this one.
I'll make a PR if this can be done?
The text was updated successfully, but these errors were encountered: