We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi @ihnorton ,
Given these errors on Win and MAC, I believe the PYTHONPATH is not set in AdditionalLauncherSettings.ini:
add_test(NAME diffusionQCCLI_test COMMAND "${Slicer_LAUNCHER_EXECUTABLE}" --launcher-additional-settings "${CMAKE_BINARY_DIR}/AdditionalLauncherSettings.ini" --launch "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/run_test.py" )
Learning from what you wrote in the other cmake:
set(_install_diffusionqclib COMMAND ${CMAKE_COMMAND} -E env PYTHONNOUSERSITE=1 ${PYTHON_EXECUTABLE} -m pip install . --prefix ${python_packages_DIR_NATIVE_DIR} --upgrade )
I would like to manually provide PYTHONPATH:
PYTHONPATH
add_test(NAME diffusionQCCLI_test COMMAND # notice the following line ${CMAKE_COMMAND} -E env PYTHONPATH=${python_packages_DIR_NATIVE_DIR} "${Slicer_LAUNCHER_EXECUTABLE}" --launcher-additional-settings "${CMAKE_BINARY_DIR}/AdditionalLauncherSettings.ini" --launch "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/run_test.py" )
Do you think that may work or is the syntax right? Surprisingly, it does not happen on Linux.
It has been a while so it's okay if we have forgotten this. Thank you anyway.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @ihnorton ,
Given these errors on Win and MAC, I believe the PYTHONPATH is not set in AdditionalLauncherSettings.ini:
Learning from what you wrote in the other cmake:
I would like to manually provide
PYTHONPATH
:Do you think that may work or is the syntax right? Surprisingly, it does not happen on Linux.
It has been a while so it's okay if we have forgotten this. Thank you anyway.
The text was updated successfully, but these errors were encountered: