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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:54:58+00:00 2026-06-17T22:54:58+00:00

The server I’m coding on has a Python 2.4 binary available in /usr/bin/ and

  • 0

The server I’m coding on has a Python 2.4 binary available in /usr/bin/ and a Python 3.0 binary available in $HOME/bin/. I need to install urllib3 for use with Python 3, but easy_install of course uses the python available system-wide. easy_install installed urllib3 just fine for Python 2.4. I tried to run it with Python 3 but it complains about missing modules:

$ ~/bin/python3.0 /usr/bin/easy_install --prefix=/home/web/local urllib3
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

How might I work around this? Note that I did install pip with easy_install but pip is missing too many dependencies, so I’m stuck with easy_install.

  • 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-17T22:54:59+00:00Added an answer on June 17, 2026 at 10:54 pm

    The error you’re getting because easy_install isn’t installed for Python3.

    You want to first install easy_install for Python3 by following the instructions here: http://pypi.python.org/pypi/distribute#installation-instructions

    $ curl -O http://python-distribute.org/distribute_setup.py
    $ python3.0 distribute_setup.py
    

    Then you’ll be able to run ~/bin/easy_install, or easy_install-3.0 to install urllib3:

    $ easy_install-3.0 urllib3
    

    Now! Note that urllib3 doesn’t officially support Python 3.0… 3.2 is the first supported version, and in general Python 3.2 is the version most library authors are targeting these days, so it might be worth considering switching to 3.2 (not to mention that it’s much faster, and other happy things).

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

Sidebar

Related Questions

Server has created a socket and bound to a port and started a thread
Server works fine, but the problem is the client doesn't receive anything. server.php <?php
My server has been infected with malware. I have upgraded my Linux server to
Server controls like Image.ImageUrl make this very easy, but trying to achieve the same
my server uses non-blocking socket multiplexing. I want to use one thread for receiving
Server in qustion is SQL Server 2008. On the same note, I need to
Server side validation works great but client side will not work on some fields.
4060 Server rejected the connection; Access to selected database has been denied. How can
Server A has a process that exports n database tables as flat files. Server
Server Error in '/' Application. i tried all the things but im unable to

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.