LMSouq
database Open

No module named 'pymysql'

TR
troyz
1 month ago
3 views
Problem Description
I'm trying to use PyMySQL on Ubuntu. I've installed `pymysql` using both `pip` and `pip3` but every time I use `import pymysql`, it returns `ImportError: No module named 'pymysql'` I'm using Ubuntu 15.10 64-bit and Python 3.5. The same .py works on Windows with Python 3.5, but not on Ubuntu.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base