Error installing mysqlclient for python on Ubuntu 18.04

前端 未结 6 599
挽巷
挽巷 2020-12-01 14:57

I installed Python 2.7.15rci and Python 3.6.7 on Ubuntu. When i did \'pip list\' on virtualenv it returns me:

Django (2.1.5)
pip (9.0.1)
pkg-resources (0.0.0         


        
6条回答
  •  旧巷少年郎
    2020-12-01 15:30

    I'm using the python3.8. Similarly to david's answer, use the following command then it works.

    $ sudo apt-get install python3.8-dev

提交回复
热议问题