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

The Archive Base Latest Questions

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

I am trying to use virtualenv for testing purposes. Unfortunately i have run into

  • 0

I am trying to use virtualenv for testing purposes. Unfortunately i have run into a bit of a wall,

when i try to pip install my app from the internal pypi server it fails. I think this is because virtualenv is using its own pip instead of the global one.

How can i get it to use the global pip?

this is what i am doing:

virtualenv ENV
source ENV/bin/activate
pip install django  <---- this works
pip install django-tyrell  <---- this cant be found

this is the output

[localhost] run: pip install django-tyrell
[localhost] out: Downloading/unpacking django-tyrell
[localhost] out:   Could not find any downloads that satisfy the requirement django-tyrell
[localhost] out: No distributions at all found for django-tyrell
[localhost] out: Storing complete log in /tmp/tmpGLJUzf
[localhost] out: 


Fatal error: run() received nonzero return code 1 while executing!

Requested: pip install django-tyrell
Executed: /bin/bash -l -c "cd fabrics && source ENV/bin/activate && pip install django-tyrell"
  • 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:23:07+00:00Added an answer on June 17, 2026 at 10:23 pm

    One solution that comes to mind is to run pip with full path to it, like:

    > /usr/bin/pip install django-tyrell
    

    Example assumes your global pip is in /usr/bin.

    To add on your 2nd question in comment – no, you can’t avoid installing pip with virtualenv:

    def create_environment(home_dir, site_packages=False, clear=False,
                           unzip_setuptools=False, use_distribute=False,
                           prompt=None, search_dirs=None, never_download=False):
        """
        Creates a new environment in ``home_dir``.
    
        If ``site_packages`` is true, then the global ``site-packages/``
        directory will be on the path.
    
        If ``clear`` is true (default False) then the environment will
        first be cleared.
        """
        home_dir, lib_dir, inc_dir, bin_dir = path_locations(home_dir)
    
        py_executable = os.path.abspath(install_python(
            home_dir, lib_dir, inc_dir, bin_dir,
            site_packages=site_packages, clear=clear))
    
        install_distutils(home_dir)
    
        if use_distribute:
            install_distribute(py_executable, unzip=unzip_setuptools,
                               search_dirs=search_dirs, never_download=never_download)
        else:
            install_setuptools(py_executable, unzip=unzip_setuptools,
                               search_dirs=search_dirs, never_download=never_download)
    
        install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
    
        install_activate(home_dir, bin_dir, prompt)
    

    From what you can see, install_pip() is called regardless.

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

Sidebar

Related Questions

I have been trying to install psycopg2 for use in a virtualenv. I managed
I am trying to follow the instructions here: http://honza.ca/2011/06/install-ruby-gems-into-virtualenv However, I cannot find the
I'm trying to install the mysql bindings in a virtualenv. I'd prefer to use
I'm really new to Linux environment and I'm trying to use virtualenv I have
I'm currently trying to install a few modules via virtualenv , which I have
im trying to follow this pretty good guide http://www.tylerbutler.com/2012/05/28/how-to-install-python-pip-and-virtualenv-on-windows-with-powershell/ but im getting the following
As a programming novice, I often run into trouble when trying to install packages,
I'm trying to install the Python M2Crypto package into a virtualenv on an x86_64
I have pip installed matplotlib in my virtualenv and I am trying to plot
I am trying use gem tire to search in my application. I have tables

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.