I had been trying to use pymysql on linux(using Red Hat 7.2.1-2, python 2.7).
I Installed pymysql module using the pip. The pymysql module is printed on the command ('pip freeze')
However, when I am using the import pymysql, It gives me the 'ImportError: No module named PyMySQL'
Traceback (most recent call last):
File "test.py", line 6, in
import pymysql
ImportError: No module named pymysql
How do we solve this?
I had been trying to use pymysql on linux(using Red Hat 7.2.1-2, python 2.7).
I Installed pymysql module using the pip. The pymysql module is printed on the command ('pip freeze')
However, when I am using the import pymysql, It gives me the 'ImportError: No module named PyMySQL'
Traceback (most recent call last):
File "test.py", line 6, in
import pymysql
ImportError: No module named pymysql
How do we solve this?