Nuitka / Nuitka

Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4-3.12. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
http://nuitka.net
Apache License 2.0
12.06k stars 651 forks source link

Qt Plugin does not find msvcp140.dll in site-packages\pyside6\ #1795

Closed bearsh closed 2 years ago

bearsh commented 2 years ago

I want to build a standalone and/or onefile of my project. Qt Plugin tries to find msvcp140.dll in site-packages\pyside6\ which does not exist there but it exists in site-packages\shiboken6. I was able to build it before (different PySide6 version) but also in a different project with the same PySide6 version.

1.0.7
Commercial: None
Python: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
Flavor: Unknown
Executable: C:\Users\Martin\.virtualenvs\flex-prodtool-WiHASTzN\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
altgraph==0.17.2
click==8.1.3
click-option-group==0.5.3
colorama==0.4.5
ecdsa==0.18.0
future==0.18.2
greenlet==1.1.3
hidapi==0.12.0.post2
intelhex==2.3.0
mypy==0.971
mypy-extensions==0.4.3
Nuitka==1.0.7
pefile==2022.5.30
psycopg2-binary==2.9.3
pyaes==1.6.1
PySide6==6.3.2
PySide6-Addons==6.3.2
PySide6-Essentials==6.3.2
python-box==6.0.2
pywin32==304
pywin32-ctypes==0.2.0
shiboken6==6.3.2
six==1.16.0
SQLAlchemy==1.4.40
tomli==2.0.1
typing_extensions==4.3.0
zstandard==0.18.0
kayhayen commented 2 years ago

This is caching bug, fixed on 1.1 already for which a release is coming very soon.

kayhayen commented 2 years ago

Workaround by forcing an update of the dependency cache with --force-dll-dependency-cache-update

bearsh commented 2 years ago

thanks @kayhayen for the fast response, very appreciate. the workaround worked!

kayhayen commented 2 years ago

This is part of the stable release 1.1 that I just made.