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