Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install Django 2.0.2 Could not find a version

Im trying to use pip install Django==2.0.2 but throw ,

No matching distribution found for Django==2.0.2 , and it´s weird cause im using the same command from Django, what can i do ?

Im using OSX, and install virtual env without call explicit python3.

like image 933
Rodrigo Espinoza Avatar asked Feb 05 '18 12:02

Rodrigo Espinoza


1 Answers

First i created a new virtual env with virtualenv env -p python3 then, run the command : pip install django to install django 2. But if you create your virtual env with this line virtualenv my_project in your terminal, you need to explicit call pip3 : pip3 install django

like image 77
Rodrigo Espinoza Avatar answered Nov 15 '22 03:11

Rodrigo Espinoza