Closed Gona2119 closed 1 year ago
Check if your Python and pip environments are pointing to the same place, I feel like you have installed the requirements in an environment and trying to execute the code with another
How can I check it? In the image I've attached shows that they're in the same path (I think)
Can you show the output of this command?
pip freeze
It will tell you which libraries you have installed in your environment
I searched for this error which will probably help you more than me: https://stackoverflow.com/questions/31147660/importerror-no-module-named-selenium
Let me know if it works
Here's the output, but it says selenium. Btw in the link that you sent they talk about changing the interpeter in VSC, but I'm running the entire script in CMD.
Do you have chromedriver too? Looks like you have selenium installed, it's weird that it wouldn't find the reference in the module. You can try download conda and create a new clean environment and test again
Tryed with conda and still the same error after reinstalling all, including python, selenium, etc
Wait, you're executing with python3, not python
There it is! Worked after changing python3 to python. It's strange bc that says in the how to use instructions, but worked. Ty man
Great! Yes, it's usually because when the change was made between Python 2 and 3, many people in their instructions (including me) made a differentiation between Python 2 and 3 to avoid people's confusions
But since we've been having Python 3 for a while, nobody is having this issue at the moment. It will possibly happen again on the change to Python 4
(some Python history for you @Gona2119 )
Nice to know some Python history, and btw cool proyect. Do you are currently studying any carreer or do you have any degree?
Yes, I did my major on Computer Engineering and I've been working on AI/ML for about 4 years. You can find everything I have done in my readme: https://github.com/jasperan including other projects, workshops, hands-on labs, YouTube podcasts, video replays, and some pictures of me
@Gona2119
Despues de leer un rato ví que eras de España jajajs. Muy interesante tus estudios y eso, justamente también estoy estudiando con 20 años Ingeniería en computación en Argentina pero recien en mi segundo año académico y arrancando programación orientada a objetos asi que soy muy nuevo en todo esto porque venia acostumbrado a la programacion iterativa en C y Processing pero nada de Java. Mucha suerte en todos tus proyectos y a seguir asi por más. Gracias por toda la ayuda :)
Gracias @Gona2119 , suerte a ti en la carrera también!
Hi! I've got the following error: "
line 1, in <module> from selenium import webdriver ModuleNotFoundError: No module named 'selenium'
any solutions? Also I've already run the command pip install -r requirements.txt. Ty