# Could not find a version that satisfies the requirement mysql-connector-python

**URL:** <https://forum.ansible.com/t/could-not-find-a-version-that-satisfies-the-requirement-mysql-connector-python/21086>\
**Category:** Ansible Project\
**Created:** [April 7, 2016, 7:03am UTC](https://forum.ansible.com/t/could-not-find-a-version-that-satisfies-the-requirement-mysql-connector-python/21086 "2016-04-07T07:03:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schaf.mh](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@schaf.mh](https://forum.ansible.com/u/schaf.mh)\
**Post date:** [April 7, 2016, 7:03am UTC](https://forum.ansible.com/t/could-not-find-a-version-that-satisfies-the-requirement-mysql-connector-python/21086/1 "2016-04-07T07:03:51Z")

</div>

HI,

I’m new in linux, django and ansible and I’m playing around with django and ansible and found an old playbook entry.

`name: djangoInst | Install requirements pip: requirements=/home/abc/req/requirements.txt extra_args="--allow-external mysql-connector-python --allow-unverified mysql-connector-python"`

If I run this playbook against a new debian installation I get the error:

`  
Collecting mysql-connector-python==1.0.12 (from -r /home/abc/req/requirements.txt (line 13))

:stderr: DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.  
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.  
Could not find a version that satisfies the requirement mysql-connector-python==1.0.12 (from -r /home/abc/req/requirements.txt (line 13)) (from versions: )  
No matching distribution found for mysql-connector-python==1.0.12 (from -r /home/abc/req/requirements.txt (line 13))  
`

I know that the playbook tries to install a very old environment:  
Django 1.5.1

In the new debian installation I have the PIP has a version which no longer supports --allow-external and --allow-unverified. But I get the same error, that it can’t find the mysql-connector-python, also if I exchange the requirements.txt entry for mysql-connector-python==1.0.12 with the direct path to download the tar.gz.

Do you have any hints?  
Is there something like an exchange for the --allow-external and --allow-unverified ?

Thanks  
Marcel
