安装python官方的mysql库“mysql-connector-python”

$ echo https://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.tar.gz >> requirements.txt
$ sudo -H pip install -r ./requirements.txt    本机必须得加-H... container里直接 pip install -r ./requirements.txt  就行。

posted @ 2016-08-31 23:40  小鼬就是我  阅读(1621)  评论(0编辑  收藏  举报