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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:26:11+00:00 2026-06-09T10:26:11+00:00

I need ‘virtualenv’ for my current django project. I could install it, and the

  • 0

I need ‘virtualenv’ for my current django project. I could install it, and the requested directory
was created with some basic subdirectories (bin, include, lib), but it stops on error messages that just keep me guessing. So I am hoping someone here knows the problem, and can help?

Below is some -hopefully- helpful console text output.

Thanks a lot in advance!
Lena

Problem Description:

Computer config: MacOS 10.6.8 (Snow Leopard), Python 2.7.

1) Creating the virtualenv:

Suesssauer:site-packages sss$ virtualenv --distribute /Users/sss/EclipseProjects/django-projects/DEV
New python executable in /Users/sss/EclipseProjects/django-projects/DEV/bin/python
Please make sure you remove any previous custom paths from your /Users/sss/.pydistutils.cfg file.

COMMENT: fyi – Contents of .pydistutils.cfg
  >> [install] 
  >> install_lib = /Library/Python/$py_version_short/site-packages )

Installing distribute........................................done.
Installing pip....
  Complete output from command /Users/sss/Ecli...DEV/bin/python -x 
  /Users/sss/Ecli...VEL/bin/easy_install         /Library/Python/2.7/...pport/pip-1.1.tar.gz:
  /Users/sss/EclipseProjects/django-projects/DEV/bin/python: 
  can't open file '/Users/sss/EclipseProjects/django-projects/DEV/bin/easy_install': 
  [Errno 2] No such file or directory

COMMENT: That’s true, it is missing. But it cannot be my job to copy it there manually, no ?


...Installing pip...done.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenv", line 8, 
    in <module> load_entry_point('virtualenv==1.7.2', 'console_scripts', 'virtualenv')()
  File "/Library/Python/2.7/site-packages/virtualenv.py", line 942, in main
    never_download=options.never_download)
  File "/Library/Python/2.7/site-packages/virtualenv.py", line 1054, in create_environment
    install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
  File "/Library/Python/2.7/site-packages/virtualenv.py", line 654, in install_pip
    filter_stdout=_filter_setup)
  File "/Library/Python/2.7/site-packages/virtualenv.py", line 1020, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /Users/sss/Ecli...ork_DEVEL/bin/python -x /Users/sss/Ecli...VEL/
bin/easy_install   /Library/Python/2.7/...pport/pip-1.1.tar.gz failed with 
error code 2

No idea, the file “/Library/Python/2.7/site-packages/virtualenv_support/pip-1.1.tar.gz” does exist (if this is the one talked about)!

2) Question: Check installation of virtualenv – do I have to consider these warnings below?

Console output:

Suesssauer:site-packages sss$ pip install virtualenv
Downloading/unpacking virtualenv
  Downloading virtualenv-1.7.2.tar.gz (2.2Mb): 2.2Mb downloaded
  Running setup.py egg_info for package virtualenv

    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
Installing collected packages: virtualenv
  Running setup.py install for virtualenv

    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
Installing virtualenv script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing virtualenv-2.7 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Successfully installed virtualenv
Cleaning up...

  • 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-09T10:26:12+00:00Added an answer on June 9, 2026 at 10:26 am

    Try “removing” your .pydistutils.cfg file, as requested, before you run virtualenv:

    mv /Users/sss/.pydistutils.cfg /Users/sss/.pydistutils.cfg.old
    

    Source: https://groups.google.com/forum/#!msg/python-virtualenv/dKZYWuMcI7Y/Z27XXKF5M4sJ

    And I think the error code 2 is due to easy_install as well, not the .tar.gz file.

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

Sidebar

Related Questions

need some help with building a powershell script to help with some basic string
Need some regular expressions help. So far I have my code working to allow
Need some help... I have jasperserver 4.1 installed on my ubuntu. It runs via
Need to set some attributes of button. For example Checked. I guess it is
Need some advice to use iframe for widget or not. Will some addons/plugin block
Need some insight on how this works I have the following piece of code
Need to search the directory/sub-directories to find a file, would prefer it to stop
Need some help here. I have deployed spree (0.70.3) on slicehost (ubuntu, ruby1.8.7, Rails
Need some advice on how to optimize my articles table for read operations. I
Need some help understanding the difference between the success and ajaxSuccess events documented here

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.