Hello,

I've been reading through the Pyinstaller docs trying to understand why the 
Python interpreter can find modules at application runtime (as sources, NOT 
an exe), but Pyinstaller
cannot. Pyinstaller itself is also a python application.

Oddly enough, I ran into an issue today where Pyinstaller couldn't find an 
import that comes with the Python interpreter (Python 3.11). This makes no 
sense to me.

When I fire up the python interpreter and manually import that module 
(imp.py)
the import works, although a deprecation warning is displayed.

*import imp*
"<stdin>:1: DeprecationWarning: the imp module is deprecated in favour of 
importlib and slated for removal in Python 3.12; see the module's 
documentation for alternative uses"

-- 
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/5aebaf08-6c8b-4f4d-b542-52846d89cd9en%40googlegroups.com.

Reply via email to