Skip to content

No moduled named pymysql error  #959

@godtechwak

Description

@godtechwak

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions