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


Groups > comp.lang.python > #197401

Re: Pip installs to unexpected place

Path csiph.com!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 Wed, 16 Apr 2025 07:41:01 +1200
Organization DWM
Lines 36
Message-ID <mailman.8.1744746075.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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de brEF/J+KDmFldR6K3bZYKQRv7UuAzJlcrA0tHlfh8GMg==
Cancel-Lock sha1:cVTDkmiZEgyWr1fvtBRCRBpE5lA= sha256:j4sgVWiOtRSvDR757ZT0/q94kFTEpoKObQmfhGFul/s=
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=oZYihzv5; dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; '=dn': 0.09; 'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist': 0.09; 'linux': 0.09; 'responses': 0.09; 'command.': 0.16; 'compiled': 0.16; 'message-id:@DancesWithMice.info': 0.16; 'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'specify': 0.16; 'them?': 0.16; 'wrote:': 0.16; 'python': 0.16; 'instead': 0.17; 'to:addr:python-list': 0.20; 'version': 0.23; 'install': 0.23; 'command': 0.23; 'installed': 0.23; 'code': 0.23; '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; 'header:Organization:1': 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; 'received:192.168': 0.37; 'though': 0.37; 'use': 0.39; 'learn': 0.40; 'verified': 0.64; 'instead,': 0.70; 'virtual': 0.71; 'skip:* 10': 0.73; 'hearing': 0.75; 'reply': 0.76; 'time?': 0.91
DKIM-Filter OpenDKIM Filter v2.11.0 vps.rangi.cloud 915B341B5
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info; s=staff; t=1744746068; bh=kB4x1Eb3ywR0AUIxv5tP2mlH5iexRDNpEUmyL1sxlrw=; h=Date:From:Subject:To:References:In-Reply-To:From; b=oZYihzv5R7xzLn191iPKNuOvSkRNksNxpleldLTOvnhxpCrR7AUlAMTX9J0lF6c1L JxuFOZy5xrFFPAksur58I33Q+Bih1G7sZdIGJxPsMyuouCb8FgmEIyXoUH091JFAK7 Z46vWOUOOuGO4TOIO5zckqV+NTEvWoo2AtliY2VyJT8qaLfABCfuR5npOgkCrrK8Em n2Vm86TKbBxi2lAnzSkPesDf44oNW7GGTk3K+1iZifyfRhnrPxm7oHh/FKCsKFPQkS N296JhJtjeoMzlZ/fdUrASiv/X4T6Qf1Pq2xQfNicUhjTxcfZt8lElW2O3+DBDtro8 oorRQIkfEjBgw==
User-Agent Mozilla Thunderbird
Content-Language en-US
In-Reply-To <4535833a-0dcc-4545-b588-099e6f339cf7@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 <2579b734-b4bf-40ff-a955-b7073f31ebf6@DancesWithMice.info>
X-Mailman-Original-References <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com> <4535833a-0dcc-4545-b588-099e6f339cf7@DancesWithMice.info>
Xref csiph.com comp.lang.python:197401

Show key headers only | View raw


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?


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?
> 

-- 
Regards,
=dn

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


Thread

Re: Pip installs to unexpected place dn <PythonList@DancesWithMice.info> - 2025-04-16 07:41 +1200

csiph-web