You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may be worth updating the documentation to include additional notes about pyinstaller and how the path changes.
Problem
Despite exiftool being in my system path, when my pyqt application is compiled with pyinstaller and the .app executable is ran, shutil.which(new_executable) on line 374 of exiftool.py will return None.
Personal Solution (my_metatool.py)
I created a function that checks hard-coded paths on the system and assigned it to self._exiftool_path variable.
Note: The unix executable generated by pyinstaller works fine without explicitly declaring the path. It's just the bundled .app executable that presents the problem.
This took me several hours to figure out a solution, so I wanted to preset it as an opportunity to save someone else some time.
The text was updated successfully, but these errors were encountered:
It may be worth updating the documentation to include additional notes about pyinstaller and how the path changes.
Problem
Despite exiftool being in my system path, when my pyqt application is compiled with pyinstaller and the .app executable is ran,
shutil.which(new_executable)
on line 374 of exiftool.py will return None.Personal Solution (my_metatool.py)
I created a function that checks hard-coded paths on the system and assigned it to
self._exiftool_path
variable.Then, I passed
self._exiftool_path
as a parameter toExiftoolToolHelper()
in a separate function.Note: The unix executable generated by pyinstaller works fine without explicitly declaring the path. It's just the bundled .app executable that presents the problem.
This took me several hours to figure out a solution, so I wanted to preset it as an opportunity to save someone else some time.
The text was updated successfully, but these errors were encountered: