-
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
Install PyNomad in virtual environment #122
Comments
To answer your question: If you need that, do not build the Python module with the rest of the project.
to compile the module. Please note that you'll need Cython available within that environment.
to install it within the virtual environment. |
Thanks for the suggestion. It works for me in a virtual environment. |
I would just like to point out that in my case, I had to do this:
|
The current installation instructions make very hard to install PyNomad in virtual enviroment, in fact the
--user
option in the lineCOMMAND python setup_PyNomad.py ${CMAKE_BINARY_DIR} ${NOMAD_VERSION} install
insideinterfaces/PyNomad/CMakeLists.txt
overwrite the default setting of a virtual environment.A separate parameter
PYTHON_DIR
defined in CMake could allow the user to specify the correct Python location, otherwise the--user
flag could be removed to let the system the best location by itself.Is there a way to install PyNomad in a virtual environment with the current code?
The text was updated successfully, but these errors were encountered: