-
Notifications
You must be signed in to change notification settings - Fork 221
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
How to specify python? #122
Comments
If you are building from Python, it must always be that version of Python. It's passed through via Line 49 in 1017b90
I'd recommend considering FindPython over the deprecated FindPythonInterp/Libs, and checking out scikit-build-core in https://github.com/pybind/scikit_build_example over this example. You'll be stuck manually fixing problems every time setuptools updates with this example. |
Hey
Its DEBUG build so I assume I need to use _d python ver... sadly. when I check the debug output of search he gives me this >
So he is ignoring my python executable here? |
You need to set |
T_T Yea that did the trick >.< thank you! Update, seems like if I just set > set(Python_EXECUTABLE "${P3_ROOT_DIR}/python.exe" CACHE FILEPATH "Path to the Python executable") Summary |
Nope
|
Hello
Thanks for this awesome test!
I'm lost with customization tho...
How can I specify python in CMakeList.txt file?
I build this file without using your python. setup routine tho... just added
To cmake and it build locally.
Works great, locally, but I Have no idea how it knows which python to use.
I want to be explicit.
Any ideas?
Pinging our 2 biggest contributors hoping for a miracle :- )
@dean0x7d @henryiii
SOLVED>
To specify python version using "new methods"
at least on windows before adding pybind11
big thanks to @henryiii !!
The text was updated successfully, but these errors were encountered: