After using PIP install to successfully install a module, a similar error is prompted when importing and using it in pycharm
ImportError: No module named selenium
The original meaning of this error may be that you have installed more than one python, but the python configuration path of pycharm is not correct. For example, if selenium is downloaded to python3 and pychar’s Python configuration path is python2.7, this error will appear
Modify pycharm configuration path as follows:
Select preference and look at the picture
After selecting the correct version, the import will no longer prompt similar errors
Similar Posts:
- Error reporting of importing tensorflow package from pycharm
- [Solved] Pycharm Element Locate Error: DeprecationWarning: find_element_by_* commands are deprecated.
- Handling method of PIP error in pycharm installation
- Pycharm introduces numpy error: ImportError: Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy.
- Symbol not found: __PyCodecInfo_GetIncrementalDecoder
- Solve the problem of attributeerror: module ‘Matplotlib’ has no attribute ‘verb
- AttributeError: module ‘pip’ has no attribute ‘main’
- Solve the problem of import error: cannot import name webriver
- ImportError: No module named ‘requests’
- Importerror: no module named BS4 error resolution