Quantcast
Channel: Geert JM Vanderkelen » Geert Vanderkelen
Viewing all articles
Browse latest Browse all 25

Installing MySQL Connector/Python using pip v1.5

$
0
0

The latest pip versions will fail on you when the packages it needs to install are not hosted on PyPI. When you try to install MySQL Connector/Python the usually way, you get following message is:

shell> pip install mysql-connector-python
  Could not find any downloads that satisfy the requirement 
    mysql-connector-python
  Some externally hosted files were ignored 
    (use --allow-external mysql-connector-python to allow).

I have updated the download URL to include the MD5 checksum, and MySQL Connector/Python should now install using pip using following command:

shell> pip install --allow-external mysql-connector-python \
  mysql-connector-python

Yes, you have to repeat the mysql-connector-python name.


Viewing all articles
Browse latest Browse all 25

Trending Articles