Hi,

I don't know this library at all.  But your error seems to point to a problem in dependencies.  Not Python dependencies, obviously.  More like a DLL or another executable file isn't present.  My guess would be to check the dependencies of py3270. It might install DLL files or executable files that are accessible in your PATH.  Usually DLL gets installed in a global location on Windows, but you can include them in your PyInstaller build, so anyone could run your script, no matter whether they have Python with py3270 installed or not.

So that's my guess.  I can't help your with specific details, but you might want to check your Python's directory.  If you have access to py3270, or documentation, it could also help, there might be a section on third-party integration.  Additional dependencies is something you could easily add to your PyInstaller's .spec file.

HTH,

Vincent

On 8/27/2020 5:08 PM, Alan Mogliani wrote:
Hi everyone! I have used PyInstaller to create an executable of a python script that uses py3270 (an IBM 3270 emulator) and pymsgbox. In my computer runs like a charm, in another computer that has python and those libraries installed does as well; when trying to execute it in a computer that has no python installed, the pymsgbox prompts worked fine (as they are the first thing that comes in the script) but then when the py3270 kicks in this error message pops up: "Windows cannot find 'wc3270'. Make sure you typed the name correctly, and then try again." Same happened with a computer that had python installed, but not this library.

I know that py3270 isn't the most popular thing around so there might not be a lot of people with experience with it, but does this error ring any bell on a similar case? All info and suggestions are more than welcomed. 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 pyinstaller+unsubscr...@googlegroups.com <mailto:pyinstaller+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/fab541c9-5504-409c-9131-cadeeb576879n%40googlegroups.com <https://groups.google.com/d/msgid/pyinstaller/fab541c9-5504-409c-9131-cadeeb576879n%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 on the web visit 
https://groups.google.com/d/msgid/pyinstaller/548799e5-17cd-52b1-385f-17bfb23a7b79%40gmail.com.

Reply via email to