I take it you are putting the sys.path.insert in your PC.py? In which case that isn't enough for PyInstaller to find and bundle it properly.
I believe you can't do this using the command line. Run your bat file once. It should create a file called *PC.spec*. In it is all the information you would normally pass via command line arguments. To build you can just call PyInstaller PC.spec rather than running your bat file in future. Now to modify the build you should modify the spec file. In your spec there should be an argument `pathex=["folder/containing/your/script"]`. Add "C:/Program Files/CARIS/BASE Editor/5.3/python/3.5/" to that list noting the use of /s rather than \s in the path. That should do it. Brénainn -- 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/449066ff-7e60-4ffc-bd43-c3e550c1d3de%40googlegroups.com.