Have you tried installing and running on another machine, which does not
have your module installed?  Could be leaking in through system path or
something if you're testing on your development machine.

On Tue, Jan 12, 2021 at 8:57 AM Sylvain Berger <[email protected]>
wrote:

> I am packaging a Qt window application using pyinstaller on windows 10;
> The application is working fine but I don't understand why it work (I hate
> when something looks like it shouldn't work but does work)
>
> My application requires a few external module I wrote.
>
> They are imported normally and are not hidden imports.
>
> When using the --onedir method, I get a package with all the Qt dll and
> some standard library python module but not my external module. Yet the
> application is working fine, importing all the required modules and
> everything.
>
> In my application if I import those modules and print them to see the path
> of the module, it points to the packaged folder, but the modules are not
> there, yet it works.
>
> I feel really dumb asking this. It feels like I am simply missing
> something really obvious. what is going on?
>
> Thanks
>
> --
> 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/c21468b2-039a-42c7-844b-9a43767c4a03n%40googlegroups.com
> <https://groups.google.com/d/msgid/pyinstaller/c21468b2-039a-42c7-844b-9a43767c4a03n%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/CAP2Qz%2BVW2-RudbW9VBHKd5%3DqtHO_5xhdRQwf1E99NmSyGLTEPA%40mail.gmail.com.

Reply via email to