This is the solution by AI.one has to try.othertwise we won't know On Mon, Jun 23, 2025, 9:58 PM Subramanian Ramajayam <srsram...@gmail.com> wrote:
> Try to add these files to the spec file like; > a = Analysis( > ['myscript.py'], > binaries=[('libs/mylib.dll', '.')], > ... > ) > ... > ) > > On Mon, Jun 23, 2025, 7:10 PM Xiao Cao <deborahwilliamsef...@gmail.com> > wrote: > >> >> 好的,谢谢你。还想多问一句,为什么我的朋友的所有命令都能打包进去这些dll呢,我不能打包进去,是因为哪里出问题了么、 >> On Monday, June 23, 2025 at 8:10:28 PM UTC+8 Subramanian Ramajayam wrote: >> >>> Please try this: >>> pyinstaller --add-binary "libs/mylib.dll;." --onefile myscript.py >>> >>> On Mon, Jun 23, 2025, 2:57 PM bwoodsend <bwoo...@gmail.com> wrote: >>> >>>> If you want to build for Windows 7, you need to use Python 3.8 since >>>> that was the last Python version to support it. >>>> >>>> -- >>>> 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 visit >>>> https://groups.google.com/d/msgid/pyinstaller/12b8c21a-0a1d-4f3d-a747-4e2eb931d6a9n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/pyinstaller/12b8c21a-0a1d-4f3d-a747-4e2eb931d6a9n%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 pyinstaller+unsubscr...@googlegroups.com. >> To view this discussion visit >> https://groups.google.com/d/msgid/pyinstaller/ace935cf-6581-432e-a75f-8a9965f2dce4n%40googlegroups.com >> <https://groups.google.com/d/msgid/pyinstaller/ace935cf-6581-432e-a75f-8a9965f2dce4n%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 pyinstaller+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/CAKa7spMiWtbLtP3uhu%3D%3D%3DVEaevb9gQrCciutdNGdipQiFGrDQw%40mail.gmail.com.