-
Notifications
You must be signed in to change notification settings - Fork 23
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
can't install with pip2 or pip3 #28
Comments
OK I figured out what is wrong, pip isn't being found correctly. The link below contains a fixed version The key to fixing it is to find all versions of pip, then install with each one:
I'm not sure what additional directory hints you will need, but I'm sure there will be some. This fix also needs to be replicated in all jrl packages that do pip install in a |
The reasoning for the building of the Python bindings is to use In fact, there is no way to build both Python 2 and Python 3 bindings from cmake (except for the packaging but this uses specific options that should not be used for regular usage). The user can only opt-in to force a Python 3 build. I'd welcome a patch that allows to build both. However, I'm not sure it's sufficient to install with
I would remove the hints here because it will conflict with the usage of virtualenv (according to cmake documentation |
I've not really utilized virtualenv substantially, unfortunately.
I use both python2 and python3 depending on the project, so pip alone wouldn't be sufficient. I'm hoping to install everywhere in one go, though it would be fine to have 3 lines on my build script, one for each version.
How do you suggest? I guess the cmake scripts might only support one python at a time, and simultaneous multi-python support may a lot more effort than a couple extra lines in a build script.
Hmm, do you suggest a parameter other than HINTS? |
@gergondet It seems the python bindings setup only works with
pip
, the cmake script doesn't appear to supportpip2
orpip3
. This applies to the other repositories with bindings as well.The text was updated successfully, but these errors were encountered: