Error while running Selenium

Asked

Viewed 62 times

-2

Buddy, good night!

I’m starting my walks in programming, and I always come here to ask some questions, but today I made my registration here to ask for your help. These days I attended an immersion course to create a chatbot for Whatsapp.. but when I open the command prompt to run the file, I get this information: inserir a descrição da imagem aqui

Revising my code, I did not find a typo (I believe not). Below follows part of my code:

inserir a descrição da imagem aqui

Could someone help me understand this mistake? Would be some package I didn’t import correctly?

Hugs,

  • Please enter the code and no image. See the instructions:https://answall.com/help/how-to-ask

  • 1

    is certain that the Selenium is installed?

  • 1

    @Hartnäcking see if it helps you with the comments: https://pt.meta.stackoverflow.com/questions/707/coment%C3%a1rios-canned-para-situa%C3%A7%C3%b5es-commons

1 answer

0


The error message ModuleNotFoundError indicates that the package is not installed in your environment. Based on the prints you submitted, I assume you are using Anaconda (note that there is a (base) at your prompt), so use the command below to install Selenium:

conda install -c conda-forge selenium
  • Hello Rafael, manage to solve my problem! In fact, I had not performed the installation of the package :) Now it runs.. As I mentioned, I’m studying python and I’m always falling for these pranks!!! Hugs.. ;)

  • @Amaro_junior_1982, If this answer solved your problem and there is no doubt left, mark it as correct/accepted by clicking on " " that is next to it, which also marks your question as solved. If you still have any questions or would like further clarification, feel free to comment.

  • Thanks Icaro... I’m still learning how to use the platform.

  • Hello @Amaro_junior_1982, welcome to the Python community ! Good studies !

Browser other questions tagged

You are not signed in. Login or sign up in order to post.