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
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.