Skip to content

How to set pyo3 to use a python.exe in a specific folder? #3840

Closed Answered by notdanilo
notdanilo asked this question in Questions
Discussion options

You must be logged in to vote

(Only tested on Windows)
Setting PYTHONHOME to the directory containing python.exe seems to be enough.
I also needed to make sure the DLLs were copied to the compiled executable folder.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by notdanilo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant