$ 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 就行。
时间: 2024-08-28 02:25:36
$ 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 就行。