• Re: Trying to use pyinstaller under python 3.11, and, recentlystarted receiving error message about specific module/distribution

    From Jacob Kruger@jacob.kruger.work@gmail.com to comp.lang.python on Mon Apr 1 16:49:31 2024
    From Newsgroup: comp.lang.python

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


    --- Synchronet 3.20a-Linux NewsLink 1.114