breuerfelix / chromedriver-py

chromedriver self updated binaries for all platforms
https://pypi.org/project/chromedriver-py/
Apache License 2.0
50 stars 16 forks source link

Programs using chromedriver_py exported to .exe by pyinstaller don't detect chromedriver_py binary #28

Closed MooseMan870 closed 1 year ago

MooseMan870 commented 1 year ago

Error: File "main.py", line 11, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module File "chromedriver_py__init__.py", line 38, in File "chromedriver_py__init__.py", line 33, in _get_filename Exception: Couldn't find a binary for your system: windows / amd64. Please create an Issue on github.com/breuerfelix/chromedriver-py and include this Message. [17892] Failed to execute script 'main' due to unhandled exception!

The binary is not added to the spec file generated by pyinstaller, manually adding it does not solve the issue.

breuerfelix commented 1 year ago

https://github.com/breuerfelix/chromedriver-py/issues/26

he used a different bundler for the exe file