ImportError using abi3 wheel on windows #956
-
Hello, $ python --version $ maturin --version $ maturin build --release --no-sdist $ pip --version $ pip install target/wheels/thermal-0.1.0-cp37-abi3-win_amd64.whl $ python
Here are the config files for my project: Cargo.toml
pyproject.toml
I've been struggling with that for some days now. I'm out of ideas. Ultimately I'd like to cross compile this from Linux. So far, cross-compiling with the 'abi3-py37' flag, i manage to build the windows wheel but I have the same error at the end when importing it. Without the flag, I am not able to get a wheel (interpreter not found issue). Can somebody please help ? Any idea what is going on ? What am I doing wrong ? Many thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Run Edit: solution is #956 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
Here is the result on my library. And here it is for the python3.dll. Strangely the command shows nothing for this one :/ Can you be more specific about what I should be looking for in the first dump ? I see plenty of UNKNOWN or UNDEF but it's not really explicit. I'm also trying to analyze my library with dependency walker, but so far, the tool is stuck :( Thx in advance |
Beta Was this translation helpful? Give feedback.
Run
python -c 'import sys; print(sys.base_prefix)'
then go to the printed directory, verify that it contains apython3.dll
file.Edit: solution is #956 (reply in thread)