Daniel Hyams píše v Pá 12. 04. 2013 v 21:30 -0400:
> 
> I would be willing to bet that your problems are caused by your
> entries in pathex, in the .spec file.  Why are those there?  Take them
> out and see if things work; there's no reason that you should have
> those in there, as far as I know. 
> 

In the .spec file you have:

a = Analysis(["boot.py"],
    pathex=["C://Python27//Lib//site-packages//",
"C://Python27//Lib//site-packages//numpy//",
"C://Python27//Lib//site-packages//scipy//"],
    )

You don't need the "C://Python27//Lib//site-packages//".  Unless you use
virtualenv and you haven't enabled virtualenv to use packages from this
directory.

"C://Python27//Lib//site-packages//numpy//",
"C://Python27//Lib//site-packages//scipy//"

You should not use these path since:
- there is a 'random' in the numpy directory
- pyinstaller will use 'random' from numpy when resolving code 'import
random'
- 'random' from numpy is available earlier in the sys.path list
- try to set PYTHONPATH to these values before trying any code example
in the python interpreter and you will get the same error as when
packaged with pyinstaller.


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


Reply via email to