Skip to content

Pip hangs when using "-d . -e " args within a python package #1189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jamesls opened this issue Sep 5, 2013 · 1 comment
Closed

Pip hangs when using "-d . -e " args within a python package #1189

jamesls opened this issue Sep 5, 2013 · 1 comment
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@jamesls
Copy link

jamesls commented Sep 5, 2013

I was trying to download all the dependencies of a local python package and noticed that running pip install -d . -e <path to python package dir> from any subdir of the package will hang and python will consume 100% CPU. Repro:

# Start from directory that contains the setup.py
# Running "pip install -d . -e ." will work from this directory.
mkdir foo
cd foo
pip install -d . -e ../  # This command will hang.
pip install -d . -e $(dirname $(pwd)) # Absolute path will also hang.

Other data points:

pip install -d /outside/of/package -e ../ works.
Running pip install -d . -e <packagedir> outside of <packagedir> or at the top level of <packagedir> works.

Related issue: #831

@dstufft
Copy link
Member

dstufft commented Mar 22, 2017

Closing this. In the master branch we no longer have the -d flag to pip install, and it's replacement pip download does not have the -e flag. If you're able to reproduce this otherwise with the new command please reopen this issue or open a new issue.

@dstufft dstufft closed this as completed Mar 22, 2017
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

2 participants