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 another docker container from application inside a docker container?
  • How could one use Docker Compose to synchronize container execution?
  • Is it possible to show the `WORKDIR` when building a docker image?
  • How does one specify a particular cipher suite for a nginx docker instance?
  • container stopped being able to connect database container on same machine
  • Docker + GNU Screen lags
  • Does Jenkins Pipeline Plug-in support Docker Compose?
  • Docker app and database on different containers
  • Matched between Docker container and Linux host?
  • Cannot connect to MySQL docker container from container with Django app
  • Gradle clean task with bmuschko/gradle-docker-plugin
  • Gulp build into Docker container when NODE_ENV=production
  • 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.