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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:28:49+00:00 2026-06-08T08:28:49+00:00

I install virtualenv with command sudo /usr/bin/pip-2.6 install virtualenv And it says Requirement already

  • 0

I install virtualenv with command sudo /usr/bin/pip-2.6 install virtualenv

And it says

Requirement already satisfied (use --upgrade to upgrade): 
virtualenv in /usr/local/lib/python2.6/dist-packages
Cleaning up...

Why pip from /usr/bin looks to /usr/local/lib?

I need to install virtualenv scripts directly to /usr/bin, so I write

sudo /usr/bin/pip-2.6 install --install-option="--install-scripts=/usr/bin" virtualenv

But again it responds with

Requirement already satisfied (use --upgrade to upgrade): 
virtualenv in /usr/local/lib/python2.6/dist-packages
Cleaning up...

Adding –upgrade doesn’t help.

How can I install virtualenv scripts to /usr/bin ?

  • 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-08T08:28:51+00:00Added an answer on June 8, 2026 at 8:28 am

    For your current issue can you first uninstall virtualenv using pip, and then reinstall using --script-dir=DIR, -s DIR as an --install-option.

    As for your issue running pip with extra arguments and install not seeming to do anything, that may be fixed on develop branch at https://github.com/pypa/pip if not please file a bug with us on the GitHub issue tracker for pip.

    As to why it is behaving like this – the install is based on the python installation not on the location of pip. Pip uses setuptools/distribute under the hood and conforms to the configuration of the python it is running under.

    You can see where the version of python you are using installs to by running it – in this case probably python2.6 and querying the sys module.

    
    >>> import sys
    >>> sys.prefix
    >>> sys.exec_prefix
    

    See also distutils.sysconfig

    For more information:

    • Installing Python Modules
    • setuptools
    • distribute
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

OS X, Python 2.7, a fresh virtualenv: virtualenv bar source bar/bin/activate pip install django
I installed and configured a Django/MongoDB like this way ! pip install virtualenv source
I want to install a django-app without PIP. I'm using virtualenv with django. The
from fabric.api import sudo, put, run def install(): run('source /home/user/.virtualenvs/demo/bin/activate') run('pip install requests') if
I managed to install virtualenv, install django-1.4-alpha-1 via pip install and am trying to
I'm trying to install the mysql bindings in a virtualenv. I'd prefer to use
I've already been using pip and virtualenv (and actually sometimes still prefer a well
When I try to install virtualenv on my local machine running OS 10.6.4, I
i use this to download Virtualenv : sudo easy_install virtualenv but it show error
I'm using pip with virtualenv to package and install some Python libraries. I'd imagine

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.