Please read before marking as a duplicate
Here is what I have tried:
I get the the pyi-rth qt5plugins fatal error whenever I try to run the executable. I get no warnings when actually making the program (during the second run because of all those windows crt things the first time). As far as I can tell the Qt dlls are in the folder too but because I get no warning I don't know what it thinks it is missing.
UPDATE: So the first time I run pyinstaller I get the huge list of warnings like this
lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\users\name\appdata\local\programs\python\python35-32\lib\site- packages\PIL\_imaging.cp35-win32.pyd
Which I was told (incorrectly?) were just a result of windows having to make those temp files now and that to fix it all I have to do is run the same command again without changing anything (which did seem to work until now).
Running it the second time I get no warnings or anything but trying to run the exe gets this error:
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py", line 46, in <module>
File "c:\users\cryan\appdata\local\programs\python\python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 573, in load_module
module = loader.load_module(fullname)
ImportError: DLL load failed: The specified procedure could not be found.
Failed to execute script pyi_rth_qt5plugins
I get this error
File "C:\Users\name\AppData\Local\Programs\Python\Python35-32\lib\site-packages\olefile\olefile2.py", line 225
raise ValueError, 'Need to fix a bug with 32 bit arrays, please contact author...'
method = dis._unpack_opargs if sys.version_info[:2] >= (3, 5) \
AttributeError: module 'dis' has no attribute '_unpack_opargs'
So I have no idea what else to try. I would like to point out that pyinstaller was working fine a while back and since then I am pretty sure I haven't changed anything one moment I was building and running them fine and then all of a sudden I started getting the error and since then nothing has worked
What else can I try?
I found out how to solve the pyinstaller problem. Follow the instructions here
Esentially delete the following (depending on your OS):
%APPDATA%\pyinstaller
$XDG_DATA_HOME/pyinstaller
~/Library/Application Support/pyinstaller
and then install the dev version:
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip