I implemented the python flask application, created the vitual environment and activated it. When I try to install pymysql to it, Following messages is shown on the terminal.
Requirement already satisfied: pymysql in /usr/lib/python3/dist-packages (0.8.0)
But when I try to run it. It gives the following error.
Traceback (most recent call last):
File "app.py", line 4, in <module>
import pymysql
ImportError: No module named 'pymysql'