ModuleNotFoundError: No module named 'selenium'
Closed this issue · 4 comments
HenStar48 commented
Just installed the bot with help of the newbie guide but I get the Error:
"ModuleNotFoundError: No module named 'selenium'" when trying to start.
Any idea how to fix this?
Thanks for your work!
alfonsrv commented
Please follow the INSTALL.md - you're missing the Python libraries (pip install -r requirements.txt --user
)
HenStar48 commented
alfonsrv commented
Ah I see. You probably have two Versions of Python installed - Python2 and Python3. Try running again with pip3
edit: even though the output shows it's apparently installed in the python3.8
folder.
A few things to try here:
- Check if it makes any difference if you do not add the
--user
. You will likely have to startcmd.exe
as Administrator to run the command without any errors. - alternatively you should add your library path (
%AppData%\Python\Python38\Site-Packages
) to your %PATH% variable (tutorial for Java, but also applies for Python)
HenStar48 commented
I uninstalled the Phython 2 Version and now everything works fine.
Thanks a lot!