我在和吉昂戈玩,而吉昂戈1.11给了我很多问题,所以我用的是吉昂戈1.11。
pip3 install django==1.11
现在我要安装姜戈传单
我安装的
喜欢
pip3 install django-leaflet
但是这个命令升级到了django 2,并破坏了我的应用程序。
那么如何在不升级我的django的情况下安装django传单呢?
$ pip3 install django-leaflet==0.22.0
Collecting django-leaflet==0.22.0
Collecting Django (from django-leaflet==0.22.0)
Using cached https://files.pythonhosted.org/packages/ab/15/cfde97943f0db45e4f999c60b696fbb4df59e82bbccc686770f4e44c9094/Django-2.0.7-py3-none-any.whl
Collecting pytz (from Django->django-leaflet==0.22.0)
Using cached https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl
Installing collected packages: pytz, Django, django-leaflet
Successfully installed Django-2.0.7 django-leaflet-0.24.0 pytz-2018.5
你看,它安装了我不想安装的django 2.0.7