Martin
It doesn't work outside of virtualenv either.  I don't have a precise 
location of where it is failing but the attached might provide a clue.  It 
is the partial output from running PyInstaller and the Random error may 
have its origins in the processing of a PyInstaller hook file - but I'm 
guessing.

-- 
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.


36034 INFO: Processing hook hook-Image

Traceback (most recent call last):
  File "<string>", line 9, in <module>
  File "//usr/lib/python2.7/dist-packages/PIL/Image.py", line 355, in init
    __import__(f, globals(), locals(), [])
  File "//usr/lib/python2.7/dist-packages/PIL/IptcImagePlugin.py", line 23, in 
<module>
    import os, tempfile
  File "/usr/lib/python2.7/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "//usr/lib/python2.7/dist-packages/numpy/random/__init__.py", line 90, 
in <module>
    ranf = random = sample = random_sample
NameError: name 'random_sample' is not defined
Error in sys.excepthook:
Traceback (most recent call last):
  File "//usr/lib/python2.7/dist-packages/apport_python_hook.py", line 66, in 
apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "//usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, in 
<module>
    from apport.report import Report
  File "//usr/lib/python2.7/dist-packages/apport/report.py", line 12, in 
<module>
    import subprocess, tempfile, os.path, urllib, re, pwd, grp, os
  File "/usr/lib/python2.7/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "//usr/lib/python2.7/dist-packages/numpy/random/__init__.py", line 90, 
in <module>
    ranf = random = sample = random_sample
NameError: name 'random_sample' is not defined

Original exception was:
Traceback (most recent call last):
  File "<string>", line 9, in <module>
  File "//usr/lib/python2.7/dist-packages/PIL/Image.py", line 355, in init
    __import__(f, globals(), locals(), [])
  File "//usr/lib/python2.7/dist-packages/PIL/IptcImagePlugin.py", line 23, in 
<module>
    import os, tempfile
  File "/usr/lib/python2.7/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "//usr/lib/python2.7/dist-packages/numpy/random/__init__.py", line 90, 
in <module>
    ranf = random = sample = random_sample
NameError: name 'random_sample' is not defined

43866 INFO: Processing hook hook-anydbm
44684 INFO: Analyzing 
/home/ubuntu/Programs/pyinstaller-2.0/PyInstaller/loader/pyi_importers.py
48451 INFO: Analyzing 
/home/ubuntu/Programs/pyinstaller-2.0/PyInstaller/loader/pyi_archive.py
52110 INFO: Analyzing 
/home/ubuntu/Programs/pyinstaller-2.0/PyInstaller/loader/pyi_carchive.py
55755 INFO: Analyzing 
/home/ubuntu/Programs/pyinstaller-2.0/PyInstaller/loader/pyi_os_path.py

Reply via email to