Skip to content

Instantly share code, notes, and snippets.

@Tamriel
Created February 20, 2016 14:28
Show Gist options
  • Save Tamriel/eaf343c3ae339d4ce122 to your computer and use it in GitHub Desktop.
Save Tamriel/eaf343c3ae339d4ce122 to your computer and use it in GitHub Desktop.
Cannot find ('pyi_rth_qt5', '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/PyInstaller/loader/rthooks/pyi_rth_qt5.py', 1, 's')
Traceback (most recent call last):
File "/usr/local/bin/pyinstaller", line 11, in <module>
sys.exit(run())
File "/usr/local/lib/python3.5/site-packages/PyInstaller/__main__.py", line 90, in run
run_build(pyi_config, spec_file, **vars(args))
File "/usr/local/lib/python3.5/site-packages/PyInstaller/__main__.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/usr/local/lib/python3.5/site-packages/PyInstaller/building/build_main.py", line 755, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "/usr/local/lib/python3.5/site-packages/PyInstaller/building/build_main.py", line 701, in build
exec(text, spec_namespace)
File "<string>", line 26, in <module>
File "/usr/local/lib/python3.5/site-packages/PyInstaller/building/api.py", line 489, in __init__
strip_binaries=self.strip, upx_binaries=self.upx,
File "/usr/local/lib/python3.5/site-packages/PyInstaller/building/api.py", line 280, in __init__
self.__postinit__()
File "/usr/local/lib/python3.5/site-packages/PyInstaller/building/datastruct.py", line 183, in __postinit__
self.assemble()
File "/usr/local/lib/python3.5/site-packages/PyInstaller/building/api.py", line 365, in assemble
pylib_name=pylib_name)
File "/usr/local/lib/python3.5/site-packages/PyInstaller/archive/writers.py", line 328, in __init__
super(CArchiveWriter, self).__init__(archive_path, logical_toc)
File "/usr/local/lib/python3.5/site-packages/PyInstaller/archive/writers.py", line 58, in __init__
self._add_from_table_of_contents(logical_toc)
File "/usr/local/lib/python3.5/site-packages/PyInstaller/archive/writers.py", line 83, in _add_from_table_of_contents
self.add(toc_entry) # The guts of the archive.
File "/usr/local/lib/python3.5/site-packages/PyInstaller/archive/writers.py", line 371, in add
fh = open(pathnm, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/PyInstaller/loader/rthooks/pyi_rth_qt5.py'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment