So I did
pip install selenium
in the pycharm terminal so I thought I was good to go but when I did
from Selenium import webdriver
it gave me an error
Traceback (most recent call last):
File "C:/Users/askma/PycharmProjects/LinkedIn_Connection_Automation/main.py", line 2, in <module>
from Selenium import webdriver
ModuleNotFoundError: No module named 'Selenium'
So I decided to check out what went wrong and found out that selenium was installed in the anaconda3 IDE
pip3 install selenium
Requirement already satisfied: selenium in c:\users\anaconda3\lib\site-packages (3.141.0)
Requirement already satisfied: urllib3 in c:\users\anaconda3\lib\site-packages (from selenium) (1.25.10)
How would I be able to get selenium in Pycharm?
Firstly uninstall the selenium that got installed in anaconda3 IDE click here and then perform the following steps to reinstall the selenium into Pycharm.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.