Skip to content

Instantly share code, notes, and snippets.

@geeknow112
Created May 21, 2021 07:07
#Error5: hack-note.com/uncategorized/python-library-add-pip-2/
$ pip3 install mysql-connector-python
WARNING: Running pip install with root privileges is generally not a good idea. Try pip3 install --user instead.
Collecting mysql-connector-python
Downloading https://files.pythonhosted.org/packages/cc/ec/102bf59d0cdeb3b8fc82d6669bf96d57d133e44811ff57ad5e941bd8588d/mysql_connector_python-8.0.23-cp36-cp36m-manylinux1_x86_64.whl (18.0MB)
100% |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 18.1MB 113kB/s
Collecting protobuf>=3.0.0 (from mysql-connector-python)
Downloading https://files.pythonhosted.org/packages/d7/e8/bc878782a29afc80ef03345ff7a7c4071fbeedf58d5a9804469094df636b/protobuf-3.15.7-cp36-cp36m-manylinux1_x86_64.whl (1.0MB)
100% |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 1.0MB 1.8MB/s
Requirement already satisfied: six>=1.9 in /usr/local/lib/python3.6/site-packages (from protobuf>=3.0.0->mysql-connector-python)
Installing collected packages: protobuf, mysql-connector-python
Successfully installed mysql-connector-python-8.0.23 protobuf-3.15.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment