Are you sure that your pyinstaller is not in a Python 3.12 environment? Freezing import imp works fine for me under Python 3.11.
--
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 pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/5aebaf08-6c8b-4f4d-b542-52846d89cd9en%40googlegroups.com.
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 pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/bf9c6a84-b767-4cb1-8b39-b380029bb10fn%40googlegroups.com.
>>But what does the second line of PyInstaller’s build log say?483 INFO: PyInstaller: 6.3.0
483 INFO: Python: 3.11.2
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 pyinstaller...@googlegroups.com.
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.
Also worth checking the imp entry in the build/*/xref-*.html. I’m guessing it’s going to say not found which won’t tell us much but it might say something else.
Also worth checking the imp entry in the build/*/xref-*.html. I’m guessing it’s going to say not found which won’t tell us much but it might say something else.
--
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 pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/3116797a-7437-4403-8114-1a8f4dae1a95n%40googlegroups.com.