Selenium don't work after exporting to EXE in windowed mode in pyinstaller

后端 未结 2 1593

I am making an PyQt4 application where I need to use selenium. Everything works fine while development but when I exported to single file EXE, by pyinstalle

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-17 04:15

    I found out that pyinstaller doesn't create a copy of chromedriver.exe in the dist folder. Copying chromedriver.exe file to there solved the problem for me.

提交回复
热议问题