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

  • Home
  • SEARCH
  • 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 9018821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:37:42+00:00 2026-06-16T04:37:42+00:00

~/Django-1.4.2/django-mptt-0.5.5$ python ./setup.py install running install running build running build_py running install_lib creating /usr/local/lib/python2.7/dist-packages/mptt

  • 0
~/Django-1.4.2/django-mptt-0.5.5$ python ./setup.py install
running install
running build
running build_py
running install_lib
creating /usr/local/lib/python2.7/dist-packages/mptt
error: could not create '/usr/local/lib/python2.7/dist-packages/mptt': Permission denied

I’m trying to install mptt for django. The problem is that it seems I can’t create new files in /usr/local/…/python2.7. the reason is: I’m not the owner.

How do I change that? (it’s my computer).
Or,is there a better way for installing it?

  • 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-16T04:37:43+00:00Added an answer on June 16, 2026 at 4:37 am

    You need to have root access to install a package. Try using the following:

    sudo python setup.py install
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a threaded forum app using django-mptt. Everything is up and running, but
Django and everything are running on a server. When a user from his/her local
I try for a little while set up django-mptt in my project. I took
django 1.4,python 2.6.6. I have an app jobs. my files tree: djproject/ |-- djproject
I've been using django-mptt in my project for a while now, it's fabulous. Recently,
I'm using Django/Python, but pseudo-code is definitely acceptable here. Working with some models that
django-mptt seems determined to drive me out of my mind. I'm trying to do
I've used django-mptt to model the sections and sub-sections etc of the headings I
I'm using django-mptt to manage a simple CMS, with a model called Page ,
From the homepage of django-mptt Version 0.2.1 is not compatible with Django 1.0 and

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.