-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 18.04 无法安装myslqclient,有遇到的吗? #335
Comments
centos下,yum -y install mysql-devel gcc gcc-devel python-devel,其他版本可自行查找 |
ubuntu 18.04按照查找的解决方案一直无法解决! @coder-fly |
具体的异常能贴出来吗,刚才我在一个新的ubuntu18.04容器中安装mysqlclient成功, |
@w5dy 具体异常贴出来吧,你这样大家没办法帮你。 |
@liangliangyy @coder-fly 错误有点多 |
按照我上面的步骤就可以解决 |
@coder-fly 谢谢;按照/usr/lib/x86_64-linux-gnu |
我使用了下面的指令后再安装mysqlclient成功: |
@liangliangyy 为啥要用mysqlclient来的,超级难安装,感觉99%的人会死在这个依赖安装上!!!我真的搞了好多天才弄成功的,有点难。有没有其他方法 |
|
@ttphoon2010 因为django当时升级2.2的时候,不支持PyMySQL,请参考 PyMySQL/PyMySQL#790 |
还是装不上,烦。。。。 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1ERROR: Failed building wheel for mysqlclient |
本菜鸟也死在mysql |
docker 部署起不来放弃了自己写c++的算了 |
这个mysqlclient是真的难用,3.9.6不兼容这个,死活安装不了,其他版本的mysqlclient又会有其他错误 |
使用sudo apt-get install libmysqlclient-dev 等很多方法都不成功
The text was updated successfully, but these errors were encountered: