简体   繁体   中英

Modules are not recognized after install

I have downloaded selenium module and installed it using python setup.py install . When i open up Pycharm and try to import Selenium it gives me this error:

Traceback (most recent call last):
File "C:/Users/mali03/.PyCharmCE2018.1/config/scratches/exe.py", line 1, in 
<module> from selenium import webdriver
ModuleNotFoundError: No module named selenium'

Is it because of the interpreter? Where did python install the module and how do i access it?

It's because of Pycharm doesn't know where to find out selenium, or which python interpreter you are using. Please select correct Python version. You can found them in Settings | Project Interpreter > Wheel - More > Show Paths for the selected interpreter"

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM