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?

  • Selenium for docker issue
  • How to reference the local host inside bash?
  • How do you remove the contents of a docker volume?
  • Docker Elasticsearch Bulk index timeout
  • Docker “not found” for existing file
  • docker-compose up via Windows bat file?
  • Connection refused when trying to access SOLR instance running in boot2docker on windows
  • Using Docker for Drupal Dev (Local)
  • How can I see output from docker-compose services when running interactive command?
  • Error start mysql docker
  • Docker on Google Compute f1-micro instance
  • Starting multiple services inside Docker 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.