Hi Folks,
I've run into a little problem after several years of happy pyinstalling.
I'm using pyinstaller from Python 2.7.15 installed from
python.org on Windows 10.
I've installed it via pip and have seen this problem with the latest version and the dev version.
The problem is that the app cannot import a .pyd library which is in the dist directory. This .pyd is built using swig from msys2. According to a dll dependencies checker the .pyd under the dist dir has everything it needs.
I am able to import this .pyd running python from cmd.exe.
I have run using debug=1 and it doesn't give any indication of a problem right until I see "Failed to execute script".
Running from a cmd.exe produces no console output but if I run from an msys2 console I see:
(master) $ ./InstrumentationBrowser.exe
Traceback (most recent call last):
File "InstrumentationBrowser.py", line 8, in <module>
import InstrumentationModel
File "c:\users\viasat\appdata\local\temp\pip-install-zh9rc1\PyInstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "InstrumentationModel.py", line 13, in <module>
from . import _InstrumentationModel
ImportError: cannot import name _InstrumentationModel
I've attached the output from the pyinstaller command and the spec file I am using.
Like I said I've been a happy user for a couple of years and just started seeing this problem. Unfortunately I can't say what the last working version was.
thanks!!!
-Jim.