|
Please disregard this request.
Apparently using the Control Panel -> Programs -> Repair
fixed it. I have no idea what was broken or how that fixed it
(sigh), but I'm unblocked.
Best,
coyot
On 9/6/16 11:54, Coyot Linden (Glenn Glazer) wrote:
So, I get the following from cygwin and DOS both (Win7):
$ pyinstaller --onefile --log-level WARN
--distpath /tmp <path_obfusticated>\update_manager.py
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 174, in
_run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File
"C:\Python27\Scripts\pyinstaller.exe\__main__.py", line 5, in
<module>
File
"c:\python27\lib\site-packages\PyInstaller\__main__.py", line
21, in <module>
import PyInstaller.building.build_main
File
"c:\python27\lib\site-packages\PyInstaller\building\build_main.py",
line 32, in <module>
from ..depend import bindepend
File
"c:\python27\lib\site-packages\PyInstaller\depend\bindepend.py",
line 42, in <module>
from ..utils.win32.winmanifest import RT_MANIFEST
File
"c:\python27\lib\site-packages\PyInstaller\utils\win32\winmanifest.py",
line 97, in <module>
from PyInstaller.utils.win32 import winresource
File
"c:\python27\lib\site-packages\PyInstaller\utils\win32\winresource.py",
line 20, in <module>
import pywintypes
File
"c:\python27\lib\site-packages\win32\lib\pywintypes.py", line
124, in <module>
__import_pywin32_system_module__("pywintypes",
globals())
File
"c:\python27\lib\site-packages\win32\lib\pywintypes.py", line
64, in __import_pywin32_system_module__
import _win32sysloader
ImportError: DLL load failed: %1 is not a valid Win32
application.
My PATH is:
PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Python27:/cygdrive/c/Python27/Scripts:/cygdrive/c/Program
Files (x86)/Intel/iCLS Client:/cygdrive/c/Program
Files/Intel/iCLS
Client:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
Files/OpenVPN/bin:/cygdrive/c/Program Files/Intel/Intel(R)
Management Engine Components/DAL:/cygdrive/c/Program Files
(x86)/Intel/Intel(R) Management Engine
Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R)
Management Engine Components/IPT:/cygdrive/c/Program Files
(x86)/Intel/Intel(R) Management Engine
Components/IPT:/cygdrive/c/Program Files (x86)/NVIDIA
Corporation/PhysX/Common:/cygdrive/c/Program Files
(x86)/Windows Kits/8.1/Windows Performance
Toolkit:/cygdrive/c/Program Files/Microsoft SQL
Server/110/Tools/Binn:/cygdrive/c/Program
Files/TortoiseHg:/cygdrive/c/Program Files
(x86)/CMake/bin:/cygdrive/c/Program Files (x86)/Microsoft
Visual Studio
12.0/Common7/IDE:/usr/bin:/usr/lib/lapack:/cygdrive/c/Python27/Scripts:/cygdrive/c/Program
Files/TortoiseHg/:/cygdrive/c/Program Files (x86)/Microsoft
Visual Studio 12.0/Common7/IDE/
and python and pyinstaller installer here:
$ which python
/cygdrive/c/Python27/python
$ which pyinstaller
/cygdrive/c/Python27/Scripts/pyinstaller
I am pretty sure this is a configuration error of some type
because the error does not occur on our TeamCity hosts. Calling
pyinstaller or pyinstaller.exe does not make any difference.
I would thus like help with two things:
1) how to fix my environment
2) how to get the import error to actually expose what %1 is
rather than printing the variable name
Thanks,
coyot
GLENN GLAZER | Senior Software
Engineer
m: 562.305.2920 | email:
[email protected] | Second Life: Coyot Linden
LINDEN LAB | Create Virtual Experiences
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.
|