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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:30:45+00:00 2026-05-28T01:30:45+00:00

PIP always downloads and installs a package when a specific SVN revision is specified

  • 0

PIP always downloads and installs a package when a specific SVN revision is specified (slowing the syncing process considerably).

Is there a way around this? Normally pip detects that the package is already installed in the environment and prompts to use --upgrade.

My pip_requirements file has the following line:

svn+http://code.djangoproject.com/svn/django/trunk/@16406#egg=Django1.4A

Thanks for your help!

Answer

  • Must specify egg name as exact python package name.
  • Must not use -e flag.
  • Does not work on PIP version 0.7, works on 1.0.2.
  • 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-05-28T01:30:45+00:00Added an answer on May 28, 2026 at 1:30 am

    I was actually hacking around pip this past weekend and I believe I have the explanation to your pip woes. The problem is just a limitation within pip itself. Due to the way the installation process works the #egg=[egg-name] portion must be named correctly to the actual project’s name identified within the setup.py’s name kwarg (this is the name known on PyPI).

    Short Answer

    Your line:

    svn+http://code.djangoproject.com/svn/django/trunk/@16406#egg=Django1.4A
    

    Should be:

    svn+http://code.djangoproject.com/svn/django/trunk/@16406#egg=django
    

    Long Answer

    The install process actually does the following to my understanding (Ian Bicking strike me down if I’m wrong :-P)

    1. When it gets your requirement it determines that the link is to a VCS it knows based on the vcs+[url] structure.
    2. It checks out the code into a temporary directory within your environment.
    3. It runs the setup.py (I believe both egg_info and install)
    4. Temporary directory for checked out code is removed from the filesystem

    So once step 3 has completed and your checked out source has installed, Django is known to pip as django (case-insensitive). However, if you keep your current requirements line, pip will search for for Django1.4A. Not finding a package matching that name, it will checkout the source code again and attempt to install it.

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

Sidebar

Related Questions

Is there any way to force install a pip python package ignoring all its
My other question here just got answered about why pip svn+ was always re-downloading
By default pip installs editable packages into src subdirectory of the directory where Python
I had installed the python package named requests . (pip install -i http://pip.kennethreitz.com/simple requests)
I installed and configured a Django/MongoDB like this way ! pip install virtualenv source
After installing the BitTorrent-bencode package, either via easy_install BitTorrent-bencode or pip install BitTorrent-bencode ,
I pip install -ed the flufl.enum Python package and I noticed that it works
I can't seem to get pip to uninstall a package when using the environment
I'm using pip for deploying my package and I want it to pull my
I'm using pip in a virtualenv and have installed a package from a git

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.