question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`download` attempts to build instead of just downloading

See original GitHub issue
  • Pip version: 9.0.1
  • Python version: 2.7
  • Operating System: CentOS 7.3.1611

Description:

I’m attempting to use the download option to download a tar.gz from pypi of the GDAL package

What I’ve run:

.venv/bin/pip download GDAL==2.1.0 --verbose --no-cache-dir --no-dependencies -d ./

  Saved ./GDAL-2.1.0.tar.gz
  Running setup.py (path:/tmp/pip-build-Gk23rl/GDAL/setup.py) egg_info for package GDAL
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/GDAL.egg-info
    writing pip-egg-info/GDAL.egg-info/PKG-INFO
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-T9q_eG/GDAL/

Pip appears to be running setup.py which isn’t what I want. I need to build the GDAL package with some optional flags that point to other header files.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
pfmoorecommented, Jan 17, 2017

@xavfernandez But doesn’t the issue description show --no-dependencies still executing setup.py? I’m inclined to think this is an error on pip’s part (unless the metadata is needed for some other aspect of pip download’s behaviour).

0reactions
dstufftcommented, Mar 31, 2017

Duplicate of #1884.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting up maven to compile (instead of downloading ...
Question: How do I configure maven to always build all modules that are in the git repository and download only "true" dependencies, which...
Read more >
Why gradle always downloads large files when trying to build ...
I am trying to learn IDEA plugin creation. I found some gradle based plugin sourse codes on github and tried to build them...
Read more >
DownloadBuildArtifacts@1 - Download build artifacts v1 task
If true , this build task tries to download artifacts from the triggering build. If there is no triggering build from the specified...
Read more >
Why whenever I try to print it automatically downloads it instead?
Only when I'm in firefox, I open a document (doesn't matter what program I'm in), hit print, it automatically downloads instead of printing....
Read more >
Artifact not found using Download Pipeline Artifact task and ...
All artifacts from the 'primary' artifact are located and downloaded fine. ... artifact clones when the first build artifact is attempting to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found