0
点赞
收藏
分享

微信扫一扫

ubuntu pip install mysqlclient

梦幻之云 2022-01-22 阅读 102

报错信息:

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

解决方法:

    sudo apt-get install mysql-server mysql-client
    然后mysql -V查看mysql是否安装成功
    sudo  apt-get install libmysqlclient-dev python3-dev
    然后
    pip install mysqlclient就不会报错找不到'mysql_config'了
    

举报

相关推荐

0 条评论