You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I try to use vcpkg to install pybind11 since all my other deps are installed by it. However, I found cmake can not find conda python since the vcpkg wrapper hacks normal search and forces to use python installed by itself. Even though you specify Python_EXECUTABLE or Python_ROOT_DIR, it still override conda python.
I used the cmake debugger to dive inside, and it proves my assumption. The solution is install pybind11 with pip or conda instead of vcpkg, which looks weird. What should I do, what is best practice for those entangled environments
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear all,
Currently I try to use vcpkg to install pybind11 since all my other deps are installed by it. However, I found cmake can not find conda python since the vcpkg wrapper hacks normal search and forces to use python installed by itself. Even though you specify Python_EXECUTABLE or Python_ROOT_DIR, it still override conda python.
I used the cmake debugger to dive inside, and it proves my assumption. The solution is install pybind11 with pip or conda instead of vcpkg, which looks weird. What should I do, what is best practice for those entangled environments
Beta Was this translation helpful? Give feedback.
All reactions