Skip to content
Discussion options

You must be logged in to vote

A bit of sleep on it and the solution became clear: problem was because of env variable order.

my build.rs generated something like this

PYTHONPATH="C:\\<...>\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib";"C:\\path\\to\\my\\project\\.venv\\Lib\\site-packages"

while the correct one should be:

PYTHONPATH="C:\\path\\to\\my\\project\\.venv\\Lib\\site-packages";"C:\\<...>\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib"

(and same for PYTHONHOME obviously)

I think the problem did not show up with the other libraries (like numpy) because they were also installed globally.

Replies: 1 comment

Comment options

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