I am following a tutorial on https://djangogirls.org/ and I am frustratingly running into issues installing django or any other package. Per the tutorial, after creating and activating a Virtual Env, I was instructed to create a requirements.txt file in the project folder with the following line:
Django ~= 2.0.6
This always leads to this error:
Could not find a version that satisfies the requirement Django~=2.0.6 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for Django~=2.0.6 (from -r requirements.txt (line 1))
I'm not sure what is going on. I also tried:
python3 -m pip install --pre --upgrade Django==2.0.6
But I also get:
Could not find a version that satisfies the requirement Django==2.0.6 (from versions: )
No matching distribution found for Django==2.0.6
Please help. I can't continue the tutorial without resolving this. thank you
python -m pip install --upgrade pip
Also, Django is beyond version 3 now---almost ready to release version 4 by year end.