Deutsch   English   Français   Italiano  
<mailman.2.1744587690.3008.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: dn <PythonList@DancesWithMice.info>
Newsgroups: comp.lang.python
Subject: Re: Pip installs to unexpected place
Date: Mon, 14 Apr 2025 11:33:59 +1200
Organization: DWM
Lines: 21
Message-ID: <mailman.2.1744587690.3008.python-list@python.org>
References: <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com>
 <4535833a-0dcc-4545-b588-099e6f339cf7@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de WrnKifvpza+lZjhlFjds7gkgtnsrX9yPFVUJ5BxDW0iw==
Cancel-Lock: sha1:QdiDCM2/4A6bOQyiOQZfW1cqNF0= sha256:ghy0MftZMbzvvhXMc4tzdrRill3oGn5pL94b+6usr+M=
Return-Path: <PythonList@DancesWithMice.info>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=permerror
 reason="verification error: key DNS reply corrupt; unprotected key"
 header.d=danceswithmice.info header.i=@danceswithmice.info
 header.b=OX2pQ2Dh; dkim-adsp=none (unprotected policy);
 dkim-atps=neutral
X-Spam-Status: OK 0.006
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '=dn': 0.09;
 'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist':
 0.09; 'linux': 0.09; 'command.': 0.16; 'compiled': 0.16; 'message-
 id:@DancesWithMice.info': 0.16; 'received:51.254': 0.16;
 'received:51.254.211': 0.16; 'received:51.254.211.219': 0.16;
 'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'specify':
 0.16; 'wrote:': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20;
 'version': 0.23; 'install': 0.23; 'command': 0.23; 'installed':
 0.23; 'code': 0.23; 'environment': 0.29; 'header:User-Agent:1':
 0.30; 'python-list': 0.32; 'header:Organization:1': 0.32; 'header
 :In-Reply-To:1': 0.34; 'package': 0.34; 'source': 0.36; 'using':
 0.37; 'directory': 0.37; 'received:192.168': 0.37; 'though': 0.37;
 'use': 0.39; 'received:51': 0.64; 'instead,': 0.70; 'virtual':
 0.71; 'skip:* 10': 0.73; 'time?': 0.91
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud C6C9E4495
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
 s=staff; t=1744587243;
 bh=cB+LjxKQNIxB2U9mHMUwdjp2up1SzeH4W4VJng6LPno=;
 h=Date:From:Subject:To:References:In-Reply-To:From;
 b=OX2pQ2DhoCubaQ2aO3rj1C36QTEjVTME7qTzPo7E82pOCv0izIwGpXA/YqgpCWDz2
 s33jJVhuBlT9yrm4X7jrzHbYJWxBczas+BKjSSTNeOt7nIuSOlJryz+3xCmUdKjS+b
 dTL+v1V4lDQ50rl/57sMR3MrpmfLVuAAn/ewTpgCTE4d2+Sl5xFbRpj0LxkU/lAjih
 X6w1RX1T8wtEIscbh2YCb3Gwtv5AWEn49d+i68x0BOgLLvHhx9Hvf/dLEjUl91YgnP
 0FaeBgD+P4V3rIQTFgb7XxdMM9h2/R0KrupKQrW+D4/x+nOzGFkB+97nr0k9/ER6T9
 tEfX0Xf8vnA5g==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <4535833a-0dcc-4545-b588-099e6f339cf7@DancesWithMice.info>
X-Mailman-Original-References: <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com>
Bytes: 4699

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