Mysql python connector is unavailable when running pip install –allow external

While using Python 3.4 in a docker container, I have been using pip install mysql-connector-python --allow-external mysql-connector-python to install the dependency on new containers. Suddenly, however, the command fails saying “Could not find any downloads that satisfy the requirement”. I checked pypi and the dependency is still there, but for some reason pip can’t find it (https://pypi.python.org/pypi/mysql-connector-python/2.0.4).

Any ideas why it no longer is able to see mysql-connector-python version 2.0.4 anymore and how I can fix this?

  • How to run Python server on Docker's container
  • Multi-Branch Pipeline project with Jenkinsfile and Docker best practise
  • How to set up two Nginx containers as a reverse proxy in an active-passive set up with failover?
  • php composer with docker build: failed to clone git
  • Apache-Zeppelin 0.7 build from source failed at zeppelin-server
  • Wasabi automatically restart docker container
  • how to mount the nginx docker container into host using Ansible Playbook?
  • apache proxy dosn't work
  • Docker MySQL no output
  • Installing composer in a docker container
  • Query port number used by process in a docker container
  • Docker container stuck after enter in container
  • One Solution collect form web for “Mysql python connector is unavailable when running pip install –allow external”

    “With PEP 470 now requiring files to be hosted on PyPI, you may have noticed that MySQL Connector/Python is now no longer available using the pip-tool.”

    “For now we suggest to download the latest Connector/Python directly from the MySQL homepage”

    See https://geert.vanderkelen.org/2016/cpy-and-pypi/

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.