Could you tell me how to deal with it?The environment is centos7, python 3.4.3.
.■ error
ImportError: No module named'pymysql
■ Commands entered
import pymysql
■Installation method
pipe install PyMySQL
■pip list
results
PyMySQL (0.6.7)
[Self-solving]
pip install PyMySQL
instead
pip3install PyMySQL
I was able to do it.
© 2024 OneMinuteCode. All rights reserved.