在Python自带的IDLE里面输入import pymysql没有报错,可是在pycharm里面输入import pymysql就会报错,报错内容如下:Traceback (most recent call last):
File "H:/python-course/demo2.py", line 46, in <module>
import pymysql
ModuleNotFoundError: No module named 'pymysql'
在Python自带的IDLE里面输入import pymysql没有报错,可是在pycharm里面输入import pymysql就会报错,报错内容如下:Traceback (most recent call last):
File "H:/python-course/demo2.py", line 46, in <module>
import pymysql
ModuleNotFoundError: No module named 'pymysql'