Pycharm modules installed solution is not usable

I encountered such a problem before, pip install a module in Python, in Pycharm in the same installation, but Pycharm import module or an error on the Internet for a long time, found a solution

import sys
print(sys.path)
sys.path.append(r"C:\Users\***\AppData\Local\Programs\Python\Python36\Lib\site-packages")

Python path here is the position of the various packages, may be due in Python installed, but no recognition pycharm

Published 17 original articles · won praise 7 · views 743

Guess you like

Origin blog.csdn.net/qq_44168690/article/details/104115507