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"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