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


Groups > comp.lang.python > #197388

Pip installs to unexpected place

From Jonathan Gossage <jgossage@gmail.com>
Newsgroups comp.lang.python
Subject Pip installs to unexpected place
Date 2025-04-13 19:10 -0400
Message-ID <mailman.1.1744585887.3008.python-list@python.org> (permalink)
References <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com>

Show all headers | View raw


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.


-- 
Jonathan Gossage

Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

Pip installs to unexpected place Jonathan Gossage <jgossage@gmail.com> - 2025-04-13 19:10 -0400
  Re: Pip installs to unexpected place rbowman <bowman@montana.com> - 2025-04-14 00:14 +0000

csiph-web