I created an executable using Pyinstaller, and my application uses chromedriver and selenium. I followed what was mentioned in Running pyinstaller another pc with Chromedriver, I used the following command.
pyinstaller --onefile -i "icon.ico" --add-binary "pathToChromedriver.exe";"." script.py
It works on my computer and for other computers that have chromedriver installed, but for those that do not, it gives me an error saying that the chromedriver version must be greater than some version. How can I fix this issue? Thank you in advance.