Cannot import a module generated with msys2/gcc #5471
Unanswered
Dharmesh946
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
On windows, where I've got gcc through msys2, I can generate a module with msvc and use it but with gcc, the module is generated but cannot be imported.
My issue seems very close to https://stackoverflow.com/questions/78553793/use-pybind11-library-created-with-msys2-cmake-and-make-in-python but, if it's a problem of python version, the provided answer does not show how to force the usage of the correct one.
I'm appending a reproducible example, as far as it's not a configuration issue.
NB from vscode, I'm detecting 2 python interpreters:
All my commands are run in powershell with miniforge3 activated.
python_dev.zip
Beta Was this translation helpful? Give feedback.
All reactions