django - 安装MYSQL-python报错
伊谢尔伦
伊谢尔伦 2017-04-17 17:46:12
0
3
425

python 3.5 django1.9

pip install MYSQL-python时报错,于是接着install ConfigParser呗,结果报语法错误???求各位大神指点一二: Complete output from command python setup.py egg_info:

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all (3)
洪涛

python3 does not have the MYSQL-python package. This is for python2. You can try to use pymysql instead of mysql-python.

    黄舟

    Many people have encountered this problem. First of all, you should know that you cannot install MySQL-python separately using pip because it has many dependencies. If your system is Ubuntu or Debian-like Linux, you can use the apt-get command to install it, sudo apt-get install MySQL-python,
    For Windows systems, you can search for python-MySQL on Google and download an installation package for installation. ,

      伊谢尔伦

      I guess it depends on thissudo apt-get install libmysqlclient-dev

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!