Skip to content

pip does not respect --index-url (nor environment variable) when downloading dependancies #2072

@KipsasJaujoj

Description

@KipsasJaujoj

If one uses --index-url to download and install packets, pip does not use that url to download dependancies. Tryed it with command variable, environment variable (PIP_INDEX_URL) and global one (in .pip/pip.conf).

For example:

  Downloading cryptography-0.5.4.tar.gz (320kB): 320kB downloaded
  Running setup.py (path:/tmp/pip_build_root/cryptography/setup.py) egg_info for package cryptography
    Download error: [Errno 110] Connection timed out -- Some packages may not be found!
    Download error: [Errno 110] Connection timed out -- Some packages may not be found!
    Couldn't find index page for 'six' (maybe misspelled?)
    Download error: [Errno 110] Connection timed out -- Some packages may not be found!
    No local packages or download links found for six>=1.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions