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

Barry barry at barrys-emacs.org
Tue Apr 2 11:11:42 EDT 2024



> On 1 Apr 2024, at 15:52, Jacob Kruger via Python-list <python-list at 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 at 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



More information about the Python-list mailing list