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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:17:50+00:00 2026-06-18T06:17:50+00:00

So i trying install setuptools on a new server, so i got with wget

  • 0

So i trying install setuptools on a new server, so i got with

wget http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg

and trying to sh setuptools-0.6c11-py2.7.egg in the directory where the file is located and I get

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named setuptools.command.easy_install

I couldn’t find any way of debugging this anywhere.

When I try

import sys
from setuptools.command.easy_install import bootstrap
sys.exit(bootstrap()) 

I get

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named setuptools.command.easy_install

When I enter sys.path in python interpreter it gives me the following:

['', '/opt/python2.7/lib/python27.zip', '/opt/python2.7/lib/python2.7', '/opt/python2.7/lib/python2.7/plat-linux3', '/opt/python2.7/lib/python2.7/lib-tk', '/opt/python2.7/lib/python2.7/lib-old', '/opt/python2.7/lib/python2.7/lib-dynload', '/opt/python2.7/lib/python2.7/site-packages']
  • 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-18T06:17:51+00:00Added an answer on June 18, 2026 at 6:17 am

    You could try a few different things:

    • move the file to a different directory, cd to the same directory, and again try running sh setuptools-0.6c11-py2.7.egg.

    • Open the python2.7 interactive prompt (just run python2.7) in the same directory as where the file resides. Then run:

      import sys
      from setuptools.command.easy_install import bootstrap
      sys.exit(bootstrap())
      

      to attempt the installation manually

    • If that still doesn’t work, run python2.7 and run the following python code, and add the information shown to your question:

      import sys
      import setuptools
      
      print 'Path:', sys.path
      print 'setuptools package:', setuptools.__file__
      

    Last but not least, test that the downloaded egg was not somehow corrupted or truncated. Test for the md5 hash and size:

    $ md5 setuptools-0.6c11-py2.7.egg 
    MD5 (setuptools-0.6c11-py2.7.egg) = fe1f997bc722265116870bc7919059ea
    $ ls -l setuptools-0.6c11-py2.7.egg 
    -rw-r--r--  1 own  grp  332005 Jul  8  2010 setuptools-0.6c11-py2.7.egg 
    

    If they don’t match, redownload the file and try again.

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

Sidebar

Related Questions

I was trying to install the following python wrapper for Amazons product api: http://pypi.python.org/pypi/python-amazon-product-api/0.2.5a1
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
I'm trying to install setuptools on centos 5.6 for python 2.7.1. The system version
I am trying to install virtualenvwrapper and facing some problems.. Error: error: /Library/Python/2.7/site-packages/virtualenvwrapper: Permission
Hi all im new to django and python trying to install bcrypt which is
I'm trying to install virtual-python on linux server which I don't have root access.
Trying to install Symfony 1.4.11 application on Ubutnu Server + Nginx + php-fpm Nginx
I'm trying to use the Fabric 0.1.1 deploy tool ( http://docs.fabfile.org/ ) on Windows
I'm trying install my codeigniter application in a sub folder: http://website.com/sub_folder And I want
I'm having a strange problem while trying to install the Python library zenlib ,

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.