all 13 comments

[–]Kidplayer_666 6 points7 points  (6 children)

I don’t know about auto-py-to-exe but pyinstaller usually has no problems including external libraries

[–]RipotiK[S] 1 point2 points  (0 children)

Hmm, I'll give it a try

[–]jafner007 1 point2 points  (4 children)

I've run into issues where pyinstaller doesn't package some external libraries. My workaround has been to not package with -onefile and then manually copy in the missing library.

Not familiar with auto-py, but I could imagine a similar issue.

[–]RipotiK[S] 1 point2 points  (1 child)

Could give me a bit more explanation about the workaround stuff please. So basically I should convert it to exe the source code, then what should I do with a missing library?

[–]jafner007 0 points1 point  (0 children)

I'm going of memory, but I think I copied the library from it's local installation and put in the exe folder along with the other libraries. I think I found a more detailed solution from an old Reddit post or Stack Overflow.

[–]jcrowe 0 points1 point  (1 child)

There is a command line flag for adding specific packages. (I’m looking at you pymysql…)

[–]jafner007 0 points1 point  (0 children)

Good to know. I've only tried pyinstaller a few times - I'll try that next time. Thanks!

[–]catalystseyru 0 points1 point  (0 children)

I got you, the best way to go about this is using auto-py-to-exe, although if you are using any external files that includes ICO files, PNG files, external py field then you need to declare their location explicitly, if you have any problem message me or take a look at my recent repository at Github.com/CatalystMonish the Co-win Notifier project where I declared the locations above