On Mon, Oct 24, 2011 at 17:44, Hartmut Goebel
<[email protected]> wrote:
> Am 23.10.2011 20:41, schrieb Chris Ball:
>>
>> Thanks for the help.
>
> You're welcome.
>>
>> The second (not so important to me, so feel free to ignore) is why
>> didn't PyInstaller work with numpy on the first system?
>
> [...]
>>
>> files on both, I can see that numpy.testing.decorators is missing from
>> the first system's but not the second's:
>
> This is the question you started this thread for, so we should try to
> investigate it.
>
> In build/logdict*.log you'll find the dependencies.
(I found logdict2.6.5.final.0-1.log in the same directory as build/
and dist/, not in build/)
> If the module is missing
> here, some dependency did not get resolved. Please search for "decorators",
> nor for the qualified module name. This may expose the error.
On system 1 (not working), "decorators" does not appear. On system 2
(working), "decorators" does appear:
numpy.testing: None -> <Module numpy.testing
/usr/lib/python2.6/dist-packages/numpy/testing/__init__.pyc
imports=[('unittest', 0, 0, -1), ('unittest.TestCase', 0, 0, -1),
('decorators', 0, 0, -1), ('utils', 0, 0, -1), ('utils.*', 0, 0, -1),
('numpytest', 0, 0, -1), ('numpytest.*', 0, 0, -1), ('nosetester', 0,
0, -1), ('nosetester.NoseTester', 0, 0, -1), ('nosetester', 0, 0, -1),
('nosetester.run_module_suite', 0, 0, -1)] binaries=[] datas=[]>
and
numpy.testing.decorators: None -> <Module numpy.testing.decorators
/usr/lib/python2.6/dist-packages/numpy/testing/decorators.pyc
imports=[('nose', 1, 0, -1), ('nose', 1, 0, -1), ('noseclasses', 1, 0,
-1), ('noseclasses.KnownFailureTest', 1, 0, -1)] binaries=[] datas=[]>
> In build/pyi.*/YourProject/warn*.txt you'll find the warnings, esp. missing
> modules. If the module is listed here,
On both systems, there are many warnings (warntest1.txt is 426 lines
on system 2, and 584 on system 1). On system 1, "decorators" does not
appear; on system 2, "decorators" appears:
W: no module named nose (delayed import by numpy.testing.decorators)
The contents of the log and warnings files prompted me to check if
nose is installed on system 2 but not system 1. This turned out to be
the case. So, the problem was just not having the python-nose package
installed. Sorry about that! Still, this might be helpful to know for
someone else in the future.
Thanks again,
Chris
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.