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


Groups > comp.lang.python > #197388

Pip installs to unexpected place

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Jonathan Gossage <jgossage@gmail.com>
Newsgroups comp.lang.python
Subject Pip installs to unexpected place
Date Sun, 13 Apr 2025 19:10:47 -0400
Lines 16
Message-ID <mailman.1.1744585887.3008.python-list@python.org> (permalink)
References <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace news.uni-berlin.de cyIFr5s6TT4DfRqFDTckGA80gZwCwLuvueV1AJV4twYQ==
Cancel-Lock sha1:ULwGF7xrAYJWyELq35HLcUoOilk= sha256:OOEYqeTbdAaVEF+hnX4y/uoYC1by84p2/7rMl7ZH6Nk=
Return-Path <jgossage@gmail.com>
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=gmail.com header.i=@gmail.com header.b=fWHIckSw; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'pip': 0.04; 'linux': 0.09; 'ubuntu': 0.09; '--user': 0.16; 'command.': 0.16; 'compiled': 0.16; 'specify': 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; 'message- id:@mail.gmail.com': 0.31; 'received:google.com': 0.34; 'package': 0.34; 'from:addr:gmail.com': 0.34; 'source': 0.36; 'using': 0.37; 'directory': 0.37; 'though': 0.37; 'use': 0.39; 'instead,': 0.70; 'virtual': 0.71; 'skip:* 10': 0.73
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744585884; x=1745190684; darn=python.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FVEZEJlHH8n+pOZ+dePynNUtlwPHGrA377wu+WwDLkc=; b=fWHIckSwnCyaDhaT4Nutg5cJ+lOuyIUBDYzkxmtxMVkbnT6zJTSWkTwpGwM271Jy9f 1s3OYbF8I8s+1iOL39VLnsiCN0TZLfen32tJdhN6Wk2xtE3sFzm/czmmEdXXZr9fDWj5 pLhWuq2EivKuYCQF7sdHOnJiIxcAUmKdqii38NLB/tnmBWJgAmwg7OFSgU9qbHos0v6V zeQioeFAUYMzbUh+hWNXBBZsguqVzDCXkBAT/JWm51tcgCrmwAlHSirRnicGSMYnII/4 n/GBtquNWKZcD8n2kYwwTXlyAOvBR82Gx2xn9XZm7zYfKS9UNc+bnLwpkpnDlHAMqtUI k7WQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744585884; x=1745190684; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FVEZEJlHH8n+pOZ+dePynNUtlwPHGrA377wu+WwDLkc=; b=R1Dw53Fiyf2EGraXBHeav/qLzzIEllO4vB0Wi6UYBikJsm+GfvvwqZRbBMl786ZdhC wfcorKg5Eq349V7aJ1Jm679cgm6bUB+WknO0IxrgDKRh0X4M5el38U5Q8rooCYwvmwCR 8hWCQ5m0Jcm9jG+p6sPhJJ9N038oG+OwHXCKpCsk8fkIJsJpwUYygMlUyCpPdz3MC/u2 YLWhyarl3Mz7ycCJn617wZ6y6utfkUPuS0CKG5mDIc+LW5GxS9W2qQ+2cTmy1EcewZal dqXd0Wtk7NXQTzuBz/Az/mHHaw0hN5SF/EPuvw43L9WeXdWhbN2kmcKspOZbK6FWa5DN EeQw==
X-Gm-Message-State AOJu0YwAwkvENoqj8wRnr2ZmGneiZTLcSGDZFpdZTOtK0x+88r6WbhyL gdAu9FG+x6gwnfO0+WFKyz0mi5mgl6ApbeifZmWEjibY/CuqQH7p3a3MtU51SeiVDJ6Gz8iWHE3 k8Hiyxp9MD6858+1svTkMGbDRWnrSDm0S
X-Gm-Gg ASbGncsUla01a/ypbTITs/5Qt2CAEistkTjEizBmIuggp20bpyk5kzNnpZsyJrB2e2O CgU6o2xIRc6SIdXJiOEThSVggwHU/BxXn3m+G3ga93VNKq7rksYTtbxMExzr9mOiUTCdWOIuIos a6F08g0SHd7v3WCe2mRaBb3pqX
X-Google-Smtp-Source AGHT+IFuUBr/Lejo34NWPITuSRCoZMuJ8F5lngiH0mIHYT+OP4bYQmxJ+wloMCuR+p4Qc35IOS/zywsKkfZqk9YJrk0=
X-Received by 2002:a17:90b:50ce:b0:2ee:aed6:9ec2 with SMTP id 98e67ed59e1d1-3082363a243mr18972393a91.14.1744585883834; Sun, 13 Apr 2025 16:11:23 -0700 (PDT)
X-Gm-Features ATxdqUF592gjwc-UJHxNADP4BWQVCxetZuYgF4RCA7iyT8IEkhGuwEfW7wJibPs
X-Content-Filtered-By Mailman/MimeDel 2.1.39
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 <CAApdmf2J69WgkR159sBSkxN0=mYoNmHZYboBmpPi+LdA-YBNpg@mail.gmail.com>
Xref csiph.com comp.lang.python:197388

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