pip --user by default

Thomas Jollans tjol at tjol.eu
Mon Jan 15 13:52:08 EST 2018


On 2018-01-15 19:46, Skip Montanaro wrote:
>>> Inside of a virtualenv, what's the difference between a --user install
>>> and a system one?
>>>
>>
>> It errors out:
>>
>> % pip install --user urllib3
>> Can not perform a '--user' install. User site-packages are not visible
>> in this virtualenv.
> 
> I was able to 'pip install --user ...' a package yesterday in a Conda
> environment, so I think it's a YMMV sort of thing. Having only ever
> used the Conda environment stuff, I've generally interpreted the term
> "virtual environment" in a fairly generic way.
> 
> Skip
> 

I just tried that and it turns out that that installs the package into
the main anaconda/miniconda installation rather than the conda env.
Definitely not what you want.

-- Thomas



More information about the Python-list mailing list