No module named 'pymysql'

后端 未结 14 1772
清酒与你
清酒与你 2020-12-15 02:32

I\'m trying to use PyMySQL on Ubuntu.

I\'ve installed pymysql using both pip and pip3 but every time I use import pymysq

14条回答
  •  无人及你
    2020-12-15 03:02

    sudo apt-get install python3-pymysql

    This command also works for me to install the package required for Flask app to tun on ubuntu 16x with WISG module on APACHE2 server.

    BY default on WSGI uses python 3 installation of UBUNTU.

    Anaconda custom installation won't work.

提交回复
热议问题