Hi
this messages are quite old, but I am looking for a solution for the same
problem (using QVTKWidget and pyinstaller).
I am on OS X, with VTK 5.10.1, and using the latest pyinstaller dev.
version.
Here is the error message :
File
"/Users/michkapopoff/Desktop/pyinstaller/main/build/main/out00-PYZ.pyz/widgets.vtk.opengl_vtk",
line 6, in <module>
File
"/Users/michkapopoff/Desktop/pyinstaller/PyInstaller/loader/pyi_importers.py",
line 273, in load_module
exec(bytecode, module.__dict__)
File
"/Users/michkapopoff/Desktop/pyinstaller/main/build/main/out00-PYZ.pyz/vtk",
line 130, in <module>
File
"/Users/michkapopoff/Desktop/pyinstaller/main/build/main/out00-PYZ.pyz/vtk.__helper",
line 32, in refine_import_err
vtk.__helper.LinkError: No module named vtkFilteringPythonSIP
logout
vtkFilteringPythonSIP.so is present
in /usr/local/lib/python2.7/site-packages/vtk (symlink)
What's strange is that for example vtk.vtkFilteringPython.so, and
even vtk.QVTKPython.so are correctly created in the pyinstaller dist folder.
But no *SIP.so files are created in the dist folder.
Perhaps could you help me ?
Michka Popoff
On Friday, November 26, 2010 9:00:46 AM UTC+1, Nicola Creati wrote:
>
> Hello,
>
> I'm trying to pack an application in which I make use of VTK.
> Initially I got the following error:
>
> Traceback (most recent call last):
> File "<string>", line 121, in <module>
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 436, in importHook
> mod = _self_doimport(nm, ctx, fqname)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 521, in doimport
> exec co in mod.__dict__
> File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk", line 124, in
> <module>
> File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk.__helper", line 32,
> in refine_import_err
> vtk.__helper.LinkError: No module named vtkCommonPythonSIP
>
> Then I added an hook to make PyInstaller found vtkCommonPythonSIP and
> it worked but I got a different error:
>
> Traceback (most recent call last):
> File "<string>", line 122, in <module>
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 436, in importHook
> mod = _self_doimport(nm, ctx, fqname)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 521, in doimport
> exec co in mod.__dict__
> File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk", line 121, in
> <module>
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 436, in importHook
> mod = _self_doimport(nm, ctx, fqname)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 521, in doimport
> exec co in mod.__dict__
> File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk.qvtk", line 8, in
> <module>
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 436, in importHook
> mod = _self_doimport(nm, ctx, fqname)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 495, in doimport
> mod = importfunc(nm)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 297, in getmod
> mod = owner.getmod(nm)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/archive.py", line 468, in getmod
> return iu.DirOwner.getmod(self, self.prefix+'.'+nm)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 109, in getmod
> mod = imp.load_module(nm, fp, attempt, (ext, mode, typ))
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 436, in importHook
> mod = _self_doimport(nm, ctx, fqname)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 495, in doimport
> mod = importfunc(nm)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 297, in getmod
> mod = owner.getmod(nm)
> File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/
> pyinstaller/iu.py", line 109, in getmod
> mod = imp.load_module(nm, fp, attempt, (ext, mode, typ))
> SystemError: dynamic module not initialized properly
>
>
> Can someone help please?
> Thanks,
>
> Nicola
>
>
--
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.
For more options, visit https://groups.google.com/groups/opt_out.