Django Uninstall and reload under Windows

Source: Internet
Author: User

Different projects may use different Django versions, 650 is a big problem, this.width=650; "alt=" Smile "src=" http://static.blog.csdn.net/xheditor/xheditor_ Emot/default/smile.gif "/>

If unfortunately to take over different versions of the project, more tragic!

If you want to reload a Django version, you need to uninstall and install it first.

Find the Django installation path First

Importdjangoprint (django.__path__) [' C:\\python27_32\\lib\\site-packages\\django-1.8.17-py2.7.egg\\django ']

Get the Django installation directory [' C:\\python27_32\\lib\\site-packages\\django-1.8.17-py2.7.egg\\django '

delete django-1.8.17-py2.7.egg directory can be  
You can then reinstall

CD C:\Users\Hunk\Desktop\test\Django-1.2.7

C:\users\hunk\desktop\test\django-1.2.7>c:\python27_32\python.exe setup.py Insta
ll


Django Uninstall and reload under Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.