Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197403

Re: Pip installs to unexpected place

From Thomas Passin <list1@tompassin.net>
Newsgroups comp.lang.python
Subject Re: Pip installs to unexpected place
Date 2025-04-15 16:36 -0400
Message-ID <mailman.10.1744749403.3008.python-list@python.org> (permalink)
References <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com> <4535833a-0dcc-4545-b588-099e6f339cf7@DancesWithMice.info> <2579b734-b4bf-40ff-a955-b7073f31ebf6@DancesWithMice.info> <6a5bfb62-724d-4309-9f1f-5fe7995d89c3@tompassin.net>

Show all headers | View raw


On 4/15/2025 3:41 PM, dn via Python-list wrote:
> Various responses have been provided but the OP has not yet replied on- 
> list (as verified by Archive). Is this an error with the list-processor 
> or have some posts been sent to one person only (using Reply instead of 
> ReplyList)?
> 
> There are always others who would like to learn from list-discussions - 
> but will hearing only half of some of the conversation help them?

The OP sent some replies to me and I asked them to include the list.

> 
> On 14/04/25 11:33, dn via Python-list wrote:
>> On 14/04/25 11:10, Jonathan Gossage via Python-list wrote:
>>> I am using *Python 3.13* in a virtual environment under *Ubuntu Linux 
>>> 24.04*
>>> .
>>> The version of Python was compiled from source code and installed 
>>> with make
>>> altinstall. I attempted to use *pip* to install the *Sphinx* package 
>>> into
>>> the virtual environment using the command *pip install sphinx* in the
>>> virtual environment*.* I expected that *sphinx* would be installed in 
>>> the
>>> *site-packages* directory in the virtual environment. Instead, it was
>>> installed into the site-packages directory in
>>> */home/jonathan/.locals/lib/python3.13/site-packages* even though I 
>>> did not
>>> specify *--user* to the *pip install* command. Is this expected 
>>> behavior? I
>>> wanted Sphinx to be installed in the virtual environment so that it 
>>> would
>>> be accessible to all users of the virtual environment.
>>
>> Which command did you type?
>> Which type of virtual-environment, and was it activated at the time?
>>
> 

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: Pip installs to unexpected place Thomas Passin <list1@tompassin.net> - 2025-04-15 16:36 -0400

csiph-web