In developing a Django application, I used the following command to install MySQL (python3):
(Venv)$ pip3 install mysql-connector-python --allow-external mysql-connector-python
The installation was sucessful, and pip3 freeze > requirements.txt shows that mysql-connector-python==2.0.1 was installed.
However, in the production environment, pip3 install -r requirements.txt produced the following error message.
Downloading/unpacking mysql-connector-python==2.0.1 (from -r requirements.txt (line 6))
Could not find any downloads that satisfy the requirement mysql-connector-python==2.0.1 (from -r requirements.txt (line 6))
Is this a bug?
2.0.2in your requirements file.Could not find any downloads that satisfy the requirement mysql-connector-python==2.0.2 (from -r requirements.txt (line 6)),No distributions at all found for mysql-connector-python==2.0.2 (from -r requirements.txt (line 6))pip3 install mysql-connector-python --allow-external mysql-connector-pythonandpip3 install mysql-connector-python==2.0.2 --allow-external mysql-connector-pythonpip3 install -r requirements.txtdidn't work.--allow-external mysql-connector-pythonwas missing from there.