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

pip install --target option incompitable with other options #1833

Closed
richburdon opened this Issue May 23, 2014 · 7 comments

Comments

Projects
None yet
7 participants
@richburdon

richburdon commented May 23, 2014

The -t option seems to break other options used with pip install.

1). with --upgrade -r requirements.txt
Error: Destination path '...' already exists (i.e., --upgrade seems to be ignored)

2). with -e git+git@github.com:.../foo.git#egg=foo
error: option --home not recognized

@webmaven

This comment has been minimized.

webmaven commented Jul 10, 2014

Related to #1489 and #1710.

theacodes added a commit to theacodes/pip that referenced this issue Aug 31, 2014

Fixing issues with instal's --target option.
 1. Check for the existance of a directory before copying from temporary directory to final target. If it exists, warn the user.
 2. If the user specifies the --upgrade option and the directory exists, delete it and continue with installation.
 3. Adding tests for above cases.

This resolves pypa#1489, pypa#1710 completely and parts of pypa#1833.

theacodes added a commit to theacodes/pip that referenced this issue Aug 31, 2014

Fixing issues with install's --target option.
 1. Check for the existence of a directory before copying from temporary directory to final target. If it exists, warn the user.
 2. If the user specifies the --upgrade option and the directory exists, delete it and continue with installation.
 3. Adding tests for above cases.

This resolves pypa#1489, pypa#1710 completely and parts of pypa#1833.
@singpolyma

This comment has been minimized.

singpolyma commented Nov 19, 2015

I seem to be encountering issue 2 -- when I use -t and my requirements.txt contains a -e for git, it breaks

@jonathan-s

This comment has been minimized.

jonathan-s commented Dec 21, 2015

I also encounter issue 2. Is there a workaround for this?

@abesmon

This comment has been minimized.

abesmon commented Aug 2, 2016

also have problems with issue 2. IT`s 2 years since issue :D

@webmaven

This comment has been minimized.

webmaven commented Sep 17, 2016

ping @dstufft + @pfmoore

@dstufft

This comment has been minimized.

Member

dstufft commented Mar 30, 2017

Closing this as one of the issues is solved, and the other issue is better explained in #4106.

@dstufft dstufft closed this Mar 30, 2017

@webmaven

This comment has been minimized.

webmaven commented Dec 24, 2017

For those following along from home, the #4106 issue was subsequently merged into #4390.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment