Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Indecision is the basis of flexibility" -- button at a Science Fiction convention.


devel / comp.lang.python / Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

SubjectAuthor
o Re: Trying to use pyinstaller under python 3.11, and, recently started receivingJacob Kruger

1
Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: jacob.kruger.work@gmail.com (Jacob Kruger)
Newsgroups: comp.lang.python
Subject: Re: Trying to use pyinstaller under python 3.11, and, recently
started receiving error message about specific module/distribution
Date: Wed, 3 Apr 2024 18:18:42 +0200
Lines: 50
Message-ID: <mailman.64.1712161139.3468.python-list@python.org>
References: <ac0dc14a-bec5-4e3c-a6f8-22eb68e797b6@gmail.com>
<C1B599CA-15F4-4105-9BAD-6052A82EC5EF@barrys-emacs.org>
<c26a2fa2-f225-4f5f-96a3-41d24da085cc@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de Fg+3NXkOvmDF4gmnc6KaDwnVfDMruqJlHAZZ56gQ8D6g==
Cancel-Lock: sha1:+encD6k+rig3ig0uq6BJLI0wyQA= sha256:dTWRn5KFjPoiWUoQW1U89ljlxJgRiZIb3P1OCkM1Yi4=
Return-Path: <jacob.kruger.work@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=TI8TuvSD;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'looks': 0.02; 'windows,':
0.05; 'subject:python': 0.06; 'linux,': 0.07; 'mar': 0.07;
'subject:error': 0.07; 'subject:module': 0.07; 'developers.':
0.09; 'ended': 0.09; 'environments': 0.09; 'ok,': 0.09;
'subject:Trying': 0.09; 'url:mailman': 0.15; '3.10': 0.16; '>>>>':
0.16; '>>>>>': 0.16; 'anyway.': 0.16; 'barry': 0.16;
'executables': 0.16; 'like.': 0.16; 'machine,': 0.16; 'many,':
0.16; 'mentions': 0.16; 'pyinstaller': 0.16; 'relevant,': 0.16;
'resolutions': 0.16; 'stick': 0.16; 'subject:distribution': 0.16;
'tests,': 0.16; 'url:latest': 0.16; 'wrote:': 0.16; 'python':
0.16; 'message-id:@gmail.com': 0.18; 'to:addr:python-list': 0.20;
'issue': 0.21; 'mac': 0.22; 'version': 0.23; 'skip:p 30': 0.23;
'list,': 0.24; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'python,': 0.25; 'url:listinfo': 0.25;
'url-ip:188.166/16': 0.25; '>>>': 0.28; 'output': 0.28; 'error':
0.29; 'header:User-Agent:1': 0.30; 'code,': 0.31; 'url-ip:188/8':
0.31; 'wondering': 0.31; 'think': 0.32; 'python-list': 0.32;
'but': 0.32; 'mailing': 0.33; 'there': 0.33; 'able': 0.34; 'same':
0.34; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'running': 0.34; 'runs': 0.35; 'url-ip:104.17/16': 0.35;
'following': 0.35; 'from:addr:gmail.com': 0.35; 'also,': 0.36;
'target': 0.36; 'people': 0.36; 'couple': 0.37; 'really': 0.37;
'using': 0.37; 'received:192.168': 0.37; 'file': 0.38; 'single':
0.39; 'mentioned': 0.39; 'still': 0.40; 'exact': 0.40; 'match':
0.40; 'subject:message': 0.40; 'try': 0.40; 'in,': 0.60; 'search':
0.61; 'here.': 0.61; 'seen': 0.62; 'mainly': 0.64; 'required':
0.65; 'now,': 0.67; 'and,': 0.69; 'discussing': 0.69; 'perfectly':
0.69; 'older': 0.70; 'skip:f 20': 0.75; 'leads': 0.81; 'happens':
0.84; 'subject: \n ': 0.84; 'subject:specific': 0.84; 'errors,':
0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1712161137; x=1712765937; darn=python.org;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id:from
:to:cc:subject:date:message-id:reply-to;
bh=MzYh27ZPBbEI5YyAvt/9iqX3a3KRxDFozzsxR75BUIc=;
b=TI8TuvSDOv3YthC76/8YC+uiETc2wxMjpaKulvRbtz2FmhobAKIOInYSbMpRl7iIIe
HpodYTKR7nSp9iCXZeINWzVyfWu30oPUOEWLvGrTLN+Btvb9jRYu4bGda2XkcFxF1Lpp
2v3oNg4surWRtaJ4JoDyAbB3fBLBQOFe+9ZR2cEr+1r6Ag4ix6NnamsQwA4m4z3nTNPQ
cnHjwHk/qCPnFmi6XloLTL4pGCkx3gh/IQ8WGoOOgQ+18C69cVZrTFc6nWUnDb4HHlxw
7l6FXnGXhs9OV8EwJAWBycUZuG7lOGRlRUe0Z/iuX1WYdztInuSBNzHnLCDZl+B05QFC
QOdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1712161137; x=1712765937;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=MzYh27ZPBbEI5YyAvt/9iqX3a3KRxDFozzsxR75BUIc=;
b=HO7j9KX6Nfrh2xTSWIMduGJ96fg0t8oix1KT5QmQX2zdQO9AhyEfyl68QtESFtH8BA
8+P4irJrhjFGELgbO4ZbmHx0CJDsSKj7s/KtUeAm62qsfS1ytO0yrzXlwvAFzCcqlEhS
Nv4YR+HGky5Nqme7WgaTFLipOOeG0v06CLNHXZ92bJJ1PdaMTcSiXEX8KyGQB1pubbgn
LJoqNGvCmeEp0wL8WyN5XGCsJd+IhDe3zWnUuADceAiODT/1VULmLxdA8rISe9dvf9lq
8uNEXwPTGyn2k3ZQtYHhTnxP0QpGKJs9cl896l0+kfFHgIm4l4jMLAfRdSyNVnG5xWIY
aJ0Q==
X-Gm-Message-State: AOJu0Yx/m1M6bQz3kLm+cJpzUc4xs6X6KpScPd3qVMyjILcorRGjn18b
c9kGT+Mel5C3nWv/ckmntrvW6aV9Mx0SvhMT+Lds5n6s9kLxVKh4L1sMzOiR
X-Google-Smtp-Source: AGHT+IFE4Bjbx2MqbZSkCwI4+HOyVrYbpOhUP3Jna9IyAtCqlOdan7PF9AVl7A5cFW/l6w4Q6N9lNQ==
X-Received: by 2002:a5d:4b0f:0:b0:341:b8ae:4cba with SMTP id
v15-20020a5d4b0f000000b00341b8ae4cbamr4594641wrq.21.1712161137493;
Wed, 03 Apr 2024 09:18:57 -0700 (PDT)
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <C1B599CA-15F4-4105-9BAD-6052A82EC5EF@barrys-emacs.org>
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: <c26a2fa2-f225-4f5f-96a3-41d24da085cc@gmail.com>
X-Mailman-Original-References: <ac0dc14a-bec5-4e3c-a6f8-22eb68e797b6@gmail.com>
<C1B599CA-15F4-4105-9BAD-6052A82EC5EF@barrys-emacs.org>
 by: Jacob Kruger - Wed, 3 Apr 2024 16:18 UTC

Ok, last update for now - checked out the following page on
pyinstaller.org, and, ended up posting to the mailing list, so, let's see:

https://pyinstaller.org/en/latest/when-things-go-wrong.html

Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."

On 2024/04/02 17:11, Barry wrote:
>
>> On 1 Apr 2024, at 15:52, Jacob Kruger via Python-list <python-list@python.org> wrote:
>>
>> Found many, many mentions of errors, with some of the same keywords, but, no resolutions that match my exact issue at all.
> Try asking the pyinstaller developers. I think there is a mailing list.
>
> Barry
>>
>> As in, most of them are mentioning older versions of python, and, mainly different platforms - mac and linux, but, various google searches have not mentioned much of using it on windows, and having it just stop working.
>>
>>
>> Now did even try shifting over to python 3.12, but, still no-go.
>>
>>
>> If launch pyinstaller under python 3.10 on this exact same machine, pyinstaller runs - just keep that older version hovering around for a couple of occasional tests, partly since some of my target environments are still running older versions of python, but anyway.
>>
>>
>> Also, not really relevant, but, cx_freeze is perfectly able to generate executables for this same code, but, then not combining all output into a single file - will stick to that for now, but, not always as convenient, and, still wondering what changed here.
>>
>>
>> Jacob Kruger
>> +2782 413 4791
>> "Resistance is futile!...Acceptance is versatile..."
>>
>>
>>> On 2024/03/31 14:51, Barry wrote:
>>>
>>>>> On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list <python-list@python.org> wrote:
>>>> pkg_resources.DistributionNotFound: The 'altgraph' distribution was not found and is required by the application
>>> I think I have seen this error being discussed before…
>>>
>>> A web search for pyinstaller and that error leads to people discussing why it happens it looks like.
>>>
>>> Barry
>>>
>>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor