开发者

pip install django --upgrade installs older version

开发者 https://www.devze.com 2023-03-13 13:47 出处:网络
I had installed a development version of django on my dev box (django 1.3 alpha1). I want to upgrade to latest version..when I :

I had installed a development version of django on my dev box (django 1.3 alpha1). I want to upgrade to latest version.. when I :

pip install django --upgrade

开发者_如何学Go

I get version 1.2.3 for some reason. How do I use pip to upgrade to the latest version?


Found the answer, if you delete the django folder in your build directory (using a virtualenv btw) and then try the upgrade again it will work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号