Skip Navigation

Did any of you ever tried to compile a python app that uses selenium with PyInstaller? The app works perfectly if launched as a python script, but when in binary format I get an error like this:

Did any of you ever tried to compile a python app that uses selenium with PyInstaller? The app works perfectly if launched as a python script, but when in binary format I get an error like this:

selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /opt/google/chrome/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

#python

0
0 comments