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 8512287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:14:17+00:00 2026-06-11T04:14:17+00:00

I am using python 2.6 and trying to install django tagging package and i

  • 0

I am using python 2.6 and trying to install django tagging package and i get this error below.I am installing few python 2.4 packages on a 64 bit machine which already has python2.6.

How to resolve this error

 [root@tom django-tagging-0.3.1]# python setup.py install
 Traceback (most recent call last):
 File "setup.py", line 5, in <module>
 from distutils.command.install import INSTALL_SCHEMES
 File "/usr/lib64/python2.6/distutils/command/install.py", line 21, in <module>
 from site import USER_BASE
 ImportError: cannot import name USER_BASE

EDIT 1

[root@tom django-tagging-0.3.1]# python2.6 setup.py install
Traceback (most recent call last):
File "setup.py", line 5, in <module>
from distutils.command.install import INSTALL_SCHEMES
File "/usr/lib64/python2.6/distutils/command/install.py", line 21, in <module>
from site import USER_BASE
ImportError: cannot import name USER_BASE

EDIT2

>>> from distutils.sysconfig import get_python_lib
>>> print(get_python_lib())
/usr/lib/python2.6/site-packages

EDIT3

>>> import site ; print site
<module 'site' from '/opt/mysite/site/__init__.pyc'>
  • 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-11T04:14:19+00:00Added an answer on June 11, 2026 at 4:14 am

    You’ve called one of your Django apps “site”. This is shadowing the site module in the stdlib. Rename it.

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

Sidebar

Related Questions

I am trying to install omniorb in a virtualenv for python. Doing this using
When installing packages in Python using pip, I came across the following error: unable
I'm trying to get a Python package to install to my home directory because
I am trying to install mysql-python using: pip install mysql-python the package is being
I'm using Django 1.3 with Python 2.7 in Ubuntu. Trying to install django-grappelli with
I'm trying to install Django using Apache and modwsgi on Windows XP. The problem
I am using Windows 7 and trying to install mysql-python. > easy_install MySQL-python Searching
I'm trying to install psycopg2, using pip, on Fedora. I get the message: pg_config
Hi all im new to django and python trying to install bcrypt which is
I am trying to install lxml on OS X 10.6 using Python 2.7a3. However

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.