Environment: Ubuntu 12.04, virtualenv (1.9.1), Python 2.7.3, Numpy 1.7.0,
Cython 1.8
PyInstaller generates an executable (--onedir) without errors. Running
the program:
(bs)$ ./myprogram_linux64
gives the error:
Traceback (most recent call last):
> File "<string>", line 9, in <module>
> File
> "/home/ubuntu/Programs/pyinstaller-2.0/PyInstaller/loader/pyi_importers.py",
> line 404, in load_module
> module = imp.load_module(fullname, fp, filename, self._c_ext_tuple)
> File "myserver.pyx", line 24, in init myserver
> (//home//ubuntu//Programs//mypyx/myserver.c:2844)
> File
> "/home/ubuntu/Programs/pyinstaller-2.0/PyInstaller/loader/pyi_importers.py",
> line 404, in load_module
> module = imp.load_module(fullname, fp, filename, self._c_ext_tuple)
> File "numpy.pxd", line 155, in init myresult
> (//home//ubuntu//Programs//mypyx/myresult.c:7875)
>
> ImportError: No module named numpy
It seems as if PyInstaller is failing to load the Cython numpy.pxd module.
Adding the tuple:
a.binaries + [("numpy.pxd",
> "//home//ubuntu//bs//lib//python2.7//site-packages//Cython//Includes//numpy.pxd",
>
> "EXTENSION"), ...]
doesn't change the outcome.
Any ideas where the problem lies?
--
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.