CodePudding user response:
You this problem is very typical:"PIP download and install a third-party modules, Pycharm could not import"
According to this problem to baidu can solve your problem!
CodePudding user response:
1. The File/Settings menu, and then the top left corner search box to search: interpreter2. Found in the interface on the right side of the upper: Project Interpreter
3. Then click the nabla to switch the Python interpreter:
Choose match your computer that a python's actual installation directory,
Don't use the default contain venv on that!
Complete the above steps, after you install any third-party modules, import and use properly in pythoncharm!