On Fri, Jan 5, 2024 at 9:34 AM Tony Cappellini <[email protected]> wrote:
> >>But what does the second line of PyInstaller’s build log say? > 483 INFO: PyInstaller: 6.3.0 > 483 INFO: Python: 3.11.2 > That looks right then. I'm no expert, but it seems something is going fundamentally wrong here. My suggestion: - make a VERY simple little script with minimal imports -- maybe without imp if you think that's a particular issue. Maybe pull an example from the docs. - try to build it with PyInstaller - if it doesn't work, then post EVERYTHING you did here, including the build log. If it does work, then slowly add stuff to make it more complicated. NOTE: I suspect the `imp` issue is a red herring -- unless it the only module that PyInstaller is having trouble with -- which I don't think is the case. nevertheless, imp is deprecated -- now would be a good time to update that code :-) HTH, -CHB > >>To PyInstaller, there’s no way of telling what modules are standard lib > or 3rd party or your own code. > The path to the python interpreter should make that easy > > >>That reinforces my thinking that pyinstaller is not installed into that > Python 3.11 environment that you think it is. > There is only 1 python interpreter on this system, and there are no > virtual environments > > > On Fri, Jan 5, 2024 at 3:36 AM bwoodsend <[email protected]> wrote: > >> Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 >> bit (AMD64)] on win32 >> >> But what does the second line of PyInstaller’s build log say? >> >> The simple fact that pyinstaller is complaining about stdlib modules is >> just odd. >> >> To PyInstaller, there’s no way of telling what modules are standard lib >> or 3rd party or your own code. >> >> There is an import statement for that module at the top of the file. >> >> Then PyInstaller will know that it needs that module and can’t find it. >> That reinforces my thinking that pyinstaller is not installed into that >> Python 3.11 environment that you think it is. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "PyInstaller" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/pyinstaller/Uo-ss_svKXc/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pyinstaller/bf9c6a84-b767-4cb1-8b39-b380029bb10fn%40googlegroups.com >> <https://groups.google.com/d/msgid/pyinstaller/bf9c6a84-b767-4cb1-8b39-b380029bb10fn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "PyInstaller" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyinstaller/CABRXM4kKam-3XMP7%3DjdWzYJ_sYNW0%2B%2B-RW7cCfuBYOKdWQZcDA%40mail.gmail.com > <https://groups.google.com/d/msgid/pyinstaller/CABRXM4kKam-3XMP7%3DjdWzYJ_sYNW0%2B%2B-RW7cCfuBYOKdWQZcDA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/CALGmxEKUCvyLkk%3DP8p23nUZMUU6UzchMobxttVgptxpTK%3D_t7Q%40mail.gmail.com.
