Re: Pip installs to unexpected place

Liste des GroupesRevenir à cl python 
Sujet : Re: Pip installs to unexpected place
De : PythonList (at) *nospam* DancesWithMice.info (dn)
Groupes : comp.lang.python
Date : 14. Apr 2025, 00:33:59
Autres entêtes
Organisation : DWM
Message-ID : <mailman.2.1744587690.3008.python-list@python.org>
References : 1 2
User-Agent : Mozilla Thunderbird
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?
--
Regards,
=dn

Date Sujet#  Auteur
14 Apr 25 o Re: Pip installs to unexpected place1dn

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal