Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It is much easier to suggest solutions when you know nothing about the problem.


devel / comp.lang.python / Re: PythonPath / sys.path

SubjectAuthor
o Re: PythonPath / sys.pathThomas Passin

1
Re: PythonPath / sys.path

<mailman.69.1684116364.13552.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=27646&group=comp.lang.python#27646

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: PythonPath / sys.path
Date: Sun, 14 May 2023 21:28:03 -0400
Lines: 44
Message-ID: <mailman.69.1684116364.13552.python-list@python.org>
References: <645F69AC.14631.33F7F4@RealGrizzlyAdams.vivaldi.net>
<12B1206B-7773-4870-B3CC-93126AEEFC70@barrys-emacs.org>
<eb14b158-830c-8aa1-7e07-7a823483ba25@wichmann.us>
<64612FE4.15459.124FD5F@RealGrizzlyAdams.vivaldi.net>
<61608167-dd66-485c-33ee-f2c4292354bf@tompassin.net>
<CAPTjJmrj6SPXH_6Pu3Yb3niRkiY1UjriGr-2_1DGNH_RLxmWiQ@mail.gmail.com>
<cb7cbc30-ad41-3592-4be2-86b3faf48959@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 OACfDNGfqjmW6frRAUiODwJe6EQDdOe2NYroIGtMOxVw==
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=JqFn8pko;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pip': 0.04; 'windows,':
0.05; '2023': 0.07; 'that?': 0.07; 'angelico': 0.09; 'debian':
0.09; 'idle': 0.09; 'it)': 0.09; 'linux': 0.09; 'pip.': 0.09;
'ubuntu': 0.09; 'that.': 0.15; '"sudo': 0.16; 'assumption': 0.16;
'experienced,': 0.16; 'flame': 0.16; 'furthermore,': 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; 'useful.': 0.16; 'wrote:': 0.16;
'python': 0.16; 'pull': 0.17; 'pm,': 0.19; 'to:addr:python-list':
0.20; 'machine': 0.22; "i've": 0.22; 'maybe': 0.22; 'install':
0.23; 'installed': 0.23; 'run': 0.23; "i'd": 0.24; 'to:name
:python-list@python.org': 0.24; '(and': 0.25; 'seems': 0.26;
'library': 0.26; 'manager,': 0.26; 'chris': 0.28; 'expect': 0.28;
'example,': 0.28; 'asked': 0.29; 'it,': 0.29; 'header:User-
Agent:1': 0.30; 'packages': 0.31; 'program': 0.31; 'think': 0.32;
'assume': 0.32; 'guess': 0.32; 'received:10.0': 0.32;
'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'said,': 0.32; 'but':
0.32; "i'm": 0.33; "i'll": 0.33; 'there': 0.33; 'particular':
0.33; 'windows': 0.34; 'same': 0.34; "didn't": 0.34; 'package':
0.34; 'requires': 0.34; 'header:In-Reply-To:1': 0.34; 'running':
0.34; 'yes,': 0.35; 'built': 0.36; 'mon,': 0.36; 'people': 0.36;
'those': 0.36; "it's": 0.37; 'file': 0.38; 'way': 0.38; 'least':
0.39; 'list': 0.39; 'use': 0.39; 'should': 0.40; 'likely': 0.61;
'load': 0.62; 'come': 0.62; 'everything': 0.63; 'experience':
0.64; 'your': 0.64; 'came': 0.65; 'please,': 0.67;
'header:Received:6': 0.67; 'received:64': 0.67; 'that,': 0.67;
'right': 0.68; 'manager': 0.68; 'obvious': 0.69; 'perfectly':
0.69; 'war': 0.69; 'desktop': 0.70; 'little': 0.73; 'easy': 0.74;
'name,': 0.75; 'discover': 0.80; 'need.': 0.84; 'easier,': 0.84;
'easy.': 0.84; 'pyqt': 0.84; "that'll": 0.84; 'this!': 0.84;
'manager.': 0.93
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1684114084; a=rsa-sha256;
cv=none;
b=TXQT15LnKbe6KKfXSAF0pZeka332odfHwLiM9mAf36cALR7Kp68ED4XkpvVRvPAdPvu70/
V3aJiYXkcU4Ue/LDTIe0Q/i59uhYjdl4XDqF9GRQuriCS94CAmTJov8Loyn2caXNPMJtA7
nnsGcBaLOQ6tECFGZf0PahDK1CQGC/DBiLNHsaUFf1NQM3Y81MykyxGrNMFC2OoxdAhi7y
xWTIi/Z7ExLExBfp2/0VVN6RtJJcUvR2KHH8KmkiJSzLt38uOIELJtrPFbJQokEKXYgWFU
SWmbRj/EyEeudaPgH6GKdRNAODF/3EUeaeq5GQiZ1ugkadjlWKa8mR6H7rJKAA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1684114084;
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=OZIAg9xXAvO6Teg632yPCw9jrvC60Cm8j47rXmNklS8=;
b=fALodnF7Kw6AOlWHFKYP/ALXrMLR49wjCsyjSgfTUnQphddir2cmD9PdinzQjYn/wry9xG
awUhqOnORzxJwXeZkUmDEZXk4mL/tNIEUPiutI1Gn6JxwhngaxPr64K8nSl+ugJugM7w7F
M/FUPhALdXA4t0O+cpIfSxAOBjhLhcdD0TOaGQ5E0815Z7Boxd9YcVFU1k+rN2Lf76AmkR
v4WR+ccCw+0JyiFknX9xkotlBowxmnxpS0y+dJ3z/mm8qDMvKuKAAwgq1ighVgoNBAtNq+
nSNmlOeuxaciiQQ71b7URX1Qinsc/H3eyluv0GhLNiDo3UxKQqUnI9/EMO5rTA==
ARC-Authentication-Results: i=1; rspamd-79bb5575d7-sxncx;
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-Exultant-Keen: 7c004b7b4adc3099_1684114085186_621520737
X-MC-Loop-Signature: 1684114085186:1517108270
X-MC-Ingress-Time: 1684114085186
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1684114084;
bh=OZIAg9xXAvO6Teg632yPCw9jrvC60Cm8j47rXmNklS8=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=JqFn8pkod49U0CsCtqEPcH16miix9FD390H8+oLZabbF8L+KRU2mOs1v1WBUW4QUl
gGEoSJi5ou2MSDHoN3MJCiOjWdCt3+RDDwVsPjQhjwKR0ELc5DEBoYzm5k9qw5NOZF
CoTGUwslYuQpsRLYieEn2xxLK3HdtwTEcLKjxceBBrYIQzQn/0xqSjJYS7wG7YiNI/
6EfM6or06UrnEXEfNrpsv4Hi1RwWsLgSrLBzxvzREOCZ6YHwD2DOdVzcg+KqOlAZZc
RUDKct0roVDY/uN/5egnRANTY2fYhxrf4oabsHPRYmi/4p3ilsiCjimlDHUy552Noy
HdIy925BumIuQ==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Content-Language: en-US
In-Reply-To: <CAPTjJmrj6SPXH_6Pu3Yb3niRkiY1UjriGr-2_1DGNH_RLxmWiQ@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: <cb7cbc30-ad41-3592-4be2-86b3faf48959@tompassin.net>
X-Mailman-Original-References: <645F69AC.14631.33F7F4@RealGrizzlyAdams.vivaldi.net>
<12B1206B-7773-4870-B3CC-93126AEEFC70@barrys-emacs.org>
<eb14b158-830c-8aa1-7e07-7a823483ba25@wichmann.us>
<64612FE4.15459.124FD5F@RealGrizzlyAdams.vivaldi.net>
<61608167-dd66-485c-33ee-f2c4292354bf@tompassin.net>
<CAPTjJmrj6SPXH_6Pu3Yb3niRkiY1UjriGr-2_1DGNH_RLxmWiQ@mail.gmail.com>
 by: Thomas Passin - Mon, 15 May 2023 01:28 UTC

On 5/14/2023 7:28 PM, Chris Angelico wrote:
> On Mon, 15 May 2023 at 09:22, Thomas Passin <list1@tompassin.net> wrote:
>> You made a little slam against Windows, but you will find it harder to
>> get things working on Linux. Ubuntu, like many other Linux distros,
>> does not come with pip and Tk (needed for Idle) installed, and it's not
>> so obvious how to install them.
>
> The assumption on Linux is usually that you know how to use your
> system's package manager. And on Debian and Ubuntu specifically, it's
> about as easy as you would want: "apt install idle". That'll pull in
> everything you should need. I don't know about other distros but I
> would expect that it's approximately as easy.
>
> Maybe that's not obvious if you come from Windows, but I'd guess that
> most desktop Linux users will have at least a passing familiarity with
> their package manager, making this a perfectly obvious way to get new
> software.

Well, no, why would you assume that? I started to use Linux - in VMs -
because I had to make sure that my cross-platform java/jython Tomcat
program would work right on Linux. Why, for example, would I think to
install Idle from the package manager when it, or things like that, were
always in my experience installed with pip? For that matter, "sudo
apt-get install pip" won't install pip. You need to use a different
name, and it may or may not be different for different distros.

No, I came to use Linux they way I said, but I didn't find those things
to be obvious. That's why I've started mentioning them on this list
when it seems like they might be useful.

Furthermore, people have been having trouble getting certain PyQt
programs working on Ubuntu 22.04 (and 20.xx before it) (yes, I know, not
what the OP asked about). The solution is pretty non-obvious and
requires a particular .so library file to be installed, if you can
discover which one and how to do that. I mention this in support of
what I said about a Windows Python user being likely to find things
harder, not easier, on Linux.

And please, let's not start a flame war about this! I'm passing on what
I've experienced, that's all. Yes, I know that there are some Python
packages that need to be built and that usually works better on Linux.
And I'll agree that some Python programs are snappier to load and run on
Linux than on the same machine running Windows, even in a Linux VM guest.


devel / comp.lang.python / Re: PythonPath / sys.path

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor