Skip to content

--target does not work with --user #3826

Closed
@dholth

Description

@dholth

On Ubuntu 16.04, pip 8.1.1, --user is default, and --target does not work. Is there any reason to not just have an explicit command line argument --target override implicit --user? Needed for a setup-requires shim.

  File "/usr/lib/python2.7/distutils/command/install.py", line 289, in finalize_options
    raise DistutilsOptionError("can't combine user with prefix, "
DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: targetpip install's --target option's behaviour handlingauto-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