Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8346273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:57:30+00:00 2026-06-09T06:57:30+00:00

According to the documentation , if Django was installed manually like python setup.py install

  • 0

According to the documentation, if Django was installed manually like python setup.py install then the directory needs to be deleted manually.

I found out where Django was installed by running this from Shell

python -c "import sys; sys.path = sys.path[1:]; import django; print(django.__path__)"

and deleted django directory from /usr/local/lib/python2.7/dist-packages/django

Thereafter I tried to install 1.4.1 the automatic way:

sudo pip install Django

Surprisingly it refused to install it:

Requirement already satisfied (use --upgrade to upgrade): Django in /usr/local/lib/python2.7/dist-packages
Cleaning up...

So I had no choice than doing this, even though the documentation hasn’t reflect that.

sudo pip install Django --upgrade

Log:

Downloading/unpacking Django
  Downloading Django-1.4.1.tar.gz (7.7Mb): 7.7Mb downloaded
  Running setup.py egg_info for package Django

Installing collected packages: Django
  Found existing installation: Django 1.4
    Uninstalling Django:
      Successfully uninstalled Django
  Running setup.py install for Django
    changing mode of build/scripts-2.7/django-admin.py from 644 to 755

    changing mode of /usr/local/bin/django-admin.py to 755
Successfully installed Django
Cleaning up...

It seems the documentation hasn’t mentioned that django files aren’t just in /python2.7/dist-packages/django but also in /usr/local/bin/django-admin.py

I wonder if this is correct the way I have done it, since the documentation explicitely warns:

If you use this installation technique, it is particularly important
that you remove any existing installations of Django first. Otherwise,
you can end up with a broken installation that includes files from
previous versions that have since been removed from Django.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T06:57:31+00:00Added an answer on June 9, 2026 at 6:57 am

    everything ok.

    Normaly there’s only a symlink in /usr/local/bin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to control a terminal with Python. According to documentation I've found, I
I'm using django.views.generic.list_detail.object_detail. According to the documentation the view takes the variable object_id. To
According to the Documentation using the django.views.static.server() function is: inefficient and insecure. I understand
I've installed the Django-voting app found here , but I am unable to get
According to Django documentation I've registered my filter: from google.appengine.ext.webapp import template # ...
I'm trying to install dajax / dajaxice according to their documentation, which suggests that
According to Django documentation, if SESSION_EXPIRE_AT_BROWSER_CLOSE is set to True, Django will use browser-length
according documentation: On success, the function returns the converted integral number as a long
According to Hibernate documentation : After observing that arrays cannot be lazy , you
According to Apple documentation and other documentation I have read about on disk encryption

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.