install Django 2.0.2 Could not find a version

2019-05-01 06:01发布

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.

1条回答
时光不老,我们不散
2楼-- · 2019-05-01 06:47

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

查看更多
登录 后发表回答