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

Jacob Kruger jacob.kruger.work at gmail.com
Mon Apr 1 10:49:31 EDT 2024


Found many, many mentions of errors, with some of the same keywords, 
but, no resolutions that match my exact issue at all.


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


More information about the Python-list mailing list