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


Groups > comp.lang.python > #197403

Re: Pip installs to unexpected place

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Thomas Passin <list1@tompassin.net>
Newsgroups comp.lang.python
Subject Re: Pip installs to unexpected place
Date Tue, 15 Apr 2025 16:36:37 -0400
Lines 39
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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de JhO3Ub5E7RKYCf6bonSYyQH4PkoPAUYpN7LCXJZhOnpA==
Cancel-Lock sha1:D4qDcmXR3V+uFAWSOjp6Ij+E+2Y= sha256:VnxRtIvEd9bFJVAr2QIcxIawQut1AiT88yqZFcNIY3o=
Return-Path <list1@tompassin.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=tompassin.net header.i=@tompassin.net header.b=T3+eNA23; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status OK 0.025
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'linux': 0.09; 'responses': 0.09; 'command.': 0.16; 'compiled': 0.16; 'received:10.0.0': 0.16; 'received:64.90': 0.16; 'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16; 'specify': 0.16; 'them?': 0.16; 'wrote:': 0.16; 'python': 0.16; 'instead': 0.17; 'pm,': 0.19; 'to:addr:python-list': 0.20; 'version': 0.23; 'install': 0.23; 'command': 0.23; 'installed': 0.23; 'code': 0.23; 'asked': 0.28; '>>>': 0.28; 'environment': 0.29; 'error': 0.29; 'header:User-Agent:1': 0.30; '(as': 0.32; 'conversation': 0.32; 'half': 0.32; 'python-list': 0.32; 'received:10.0': 0.32; 'received:mailchannels.net': 0.32; 'received:relay.mailchannels.net': 0.32; 'replies': 0.32; 'but': 0.32; 'there': 0.33; 'header:In-Reply-To:1': 0.34; 'package': 0.34; 'posts': 0.36; 'source': 0.36; 'using': 0.37; 'directory': 0.37; 'others': 0.37; 'though': 0.37; 'list': 0.39; 'use': 0.39; 'received:100': 0.39; 'learn': 0.40; 'verified': 0.64; 'header:Received:6': 0.67; 'received:64': 0.68; 'instead,': 0.70; 'virtual': 0.71; 'skip:* 10': 0.73; 'hearing': 0.75; 'reply': 0.76; 'time?': 0.91
X-Sender-Id dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal i=1; s=arc-2022; d=mailchannels.net; t=1744749399; a=rsa-sha256; cv=none; b=o3vY6e4UIqDzmW4d2Z16hEvmCux3uHAIrNzDBKl7oLtO5l8/iFMcE1GAIN+MhpV86ZFOkQ omjb2TiWIN21lMkUdsyrD7pryLDSKdZkwt7H3EzYAOAlrqPsm7wHuwjKIi0pApjp02vD3H RynYuz98QmI0olmE1Kwy1UHKFDAFADiy/+tTQ+kuSXuJQild5I0QdEzyWy1lNr5BdsYsqX j2q7hJpa45NCYdPEaNyZmCrLu+cNcx25LHj1otD+iiCCwPgNinBAXsj1vfIAaNxfXqu6rQ daLjKMQtKIPqUWCzv/JvtTP1viZ0h12Abh/2arHgJsTRZl8/1RBh+zy97GoDLw==
ARC-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1744749399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=733J/8phiAo0iKkzgwmN2xqDkrUH7Ao0slwGj9xvFrE=; b=tpKwSypR94lPm1knnOst4ZXJXb8XjQTm1dS3HruzoJfpiSgSVXDIP0mHpgnsmmptuUM6N8 BflQh/TaeF8iI1BWbOS6qnJd6hwbcB+e8g9uw+FQD7e3u6y6X5jLbsqNQ0mVK76SWiYJkh 1GAjmLFqJXEMynnuiFxuglTDlMwLlDNEqrRdjc4IpqcxBFqQ2zefDUv5CmXkS74H66I/Q8 jzxRhlsDRabQchl71gsg5rZVI/sEyIEUCEzPVa2FzcdUlbjrIoVfIWAwSxjxw34NNwkwlq /+VqDPBTKJuOfc7yRrYJDL8l4gU46HUx6VndV3k2//DlynSWnR9CLMaLJv/rJw==
ARC-Authentication-Results i=1; rspamd-5dd7f8b4cd-l8v7l; auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay Neutral
X-MailChannels-SenderId dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id dreamhost
X-Desert-Broad 4c820ca52fe6a6c5_1744749399682_19617832
X-MC-Loop-Signature 1744749399682:2056091990
X-MC-Ingress-Time 1744749399682
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net; s=dreamhost; t=1744749399; bh=733J/8phiAo0iKkzgwmN2xqDkrUH7Ao0slwGj9xvFrE=; h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding; b=T3+eNA23zIZuxdvoXoQFqXZ7+vVQY+dvYXIZh9/ZbcmBu3UyJ8aAdlx7BETmDWpU+ k1Z7VgAsYGZOox6YWRkxkmCFEQAaphvNi1XDhjfWeIksrVS0G1NECFp/Ob2JLeKkCy L8djXCNiF5r/D2VoZOZoNnyu40qsDP6j+vFzlWjon9VqV31wOZUNxSM2iuam90yiK+ X3nC5VyyOgxrRXTvbbjF35mVyaHRmMf44wy2ZHJXWi0QXE54nywNx48RJnUUd4SyKR 7A1VrKCrqiff6YvMPNaUEdSydYyDK2V+x+fM2OocOFIe7p2UarJqU+9TnRfvFaTyLZ 5YwW5WgVjIalw==
User-Agent Mozilla Thunderbird
Content-Language en-US
In-Reply-To <2579b734-b4bf-40ff-a955-b7073f31ebf6@DancesWithMice.info>
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 <6a5bfb62-724d-4309-9f1f-5fe7995d89c3@tompassin.net>
X-Mailman-Original-References <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com> <4535833a-0dcc-4545-b588-099e6f339cf7@DancesWithMice.info> <2579b734-b4bf-40ff-a955-b7073f31ebf6@DancesWithMice.info>
Xref csiph.com comp.lang.python:197403

Show key headers only | 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