pip install mysqlclient 报错:error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

ubuntu 上面想用python3.6,但是装完后虚拟环境中pip安装mysqlclient报错,错误如图 解决方案:apt-get install python3.6-dev 安装过程下载很慢,安装完就没问题了 如果还有问题,尝试:sudo apt-get install libmysqlclient-dev 然后重新按照
相关文章
相关标签/搜索