3

I installed Selenium on my system using 'pip install selenium' and it works great on Mac Console. But when I tried using selenium in my project on Pycharm, I got an error that No module named Selenium exists. What am I doing wrong?

1

2 Answers 2

1

So I found what I was doing wrong. My Mac Terminal and Pycharm were using different Python that I installed on my system, so I changed the path on Pycharm interpreter to the local path where Selenium was installed.

Sign up to request clarification or add additional context in comments.

Comments

0

Maybe you use python 2.x and 3.x on your computer and you configured in pycharm other then the one you use in console? If it is so then pip could install selenium to python 2.x and in pycharm you are using 3.x or the other way round.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.