Please ignore the last message as I did not understand what was recommended until just now. So i went to the host.py file and made the update to line 103 to "from . import spawn" and I am now receiving this error message after using pyinstaller and creating the script into one file. [image: new error.PNG] On Monday, January 10, 2022 at 3:07:29 AM UTC-6 bwoodsend wrote:
> That’s a bug in wexpect. See here > <https://github.com/raczben/wexpect/blob/8ce905938801edc6f3b4154a617f06efafb73e8f/wexpect/host.py#L103> > > where they’re misusing the __init__.py as a regular module. It should be > just from . import spawn. Try changing that line in your copy and if it > works, I'll ask the wexpect devs to change it permanently. > > On Friday, January 7, 2022 at 9:06:35 AM UTC Blake D. wrote: > >> >> [image: Capture.PNG] >> This is the error message I keep receiving. I've tried to do what ' >> https://github.com/raczben/wexpect/wiki/Wexpect-with-pyinstaller ' says >> and I followed it exactly but I still receive the exact same error as seen >> above. I also tried importing the missing module as a hidden import >> (--hidden-import=...) but that did not work either. I am also very new to >> python so that doesn't help me very much in troubleshooting. Any guidance >> will be greatly appreciated! >> > -- 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/bcc73259-a394-4f00-9b6b-b0423f8dc167n%40googlegroups.com.
