Martin
Continuing to get the "ImportError: cannot import name Random" error in
Windows. The Traceback from running the executable is:
Traceback (most recent call last):
> File "<string>", line 24, in <module>
> File "d:\pyinstaller-develop\PyInstaller\loader\pyi_importers.py", line
> 273, in load_module
> exec(bytecode, module.__dict__)
> File "d:\...\out00-PYZ.pyz\tempfile", line 35, in <module>
>
> ImportError: cannot import name Random
tempfile.py is from the Python27/Lib folder.
The module.__dict__ output in pyi_importers.py at ~line 273 is:
{'__file__':
> 'C:\\DOCUME~1\\...\\LOCALS~1\\Temp\\_MEI20322\\random\\__init__.pyc',
> '__loader__': <pyi_importers.FrozenImporter object at 0x00A6F950>,
> '__path__': ['C:\\DOCUME~1\\...\\LOCALS~1\\Temp\\_MEI20322\\random'],
> '__name__': 'random', '__package__': 'random', '__doc__': None}
The environment includes Numpy, Scipy and Cython. The error occurs in both
--onedir and --onefile modes.
I'm running out of ideas - any thoughts?
Btw, this error returned after upgrading to the latest pyinstaller-develop
to solve the icon issue. Thx.
--
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 http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.