So this is a package installed ParaView then? On Wed, Jan 19, 2011 at 8:35 AM, Utkarsh Ayachit < [email protected]> wrote:
> If you simply run pvpython executable and import paraview, does that work? > > Utkarsh > > On Wed, Jan 19, 2011 at 8:34 AM, Mr. M <[email protected]> wrote: > > Sorry, no - I'm sure that there's only one version of paraview installed > - > > the machine has a fresh Ubuntu 10.10 installation... > > > > Utkarsh Ayachit wrote: > >> > >> Do you have multiple versions of paraview installed by any chance? > >> > >> On Tue, Jan 18, 2011 at 5:47 PM, newsboost guy <[email protected]> > >> wrote: > >> > >>> > >>> Hi David: > >>> > >>> - thanks for LD_LIBRARY_PATH-suggestion > >>> - I also found this suggestion on google and tried it earlier, however > it > >>> still didn't / doesn't work (slightly different message): > >>> > >>> --------------- > >>> $ LD_LIBRARY_PATH=/usr/lib/paraview python > >>> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) > >>> [GCC 4.4.5] on linux2 > >>> Type "help", "copyright", "credits" or "license" for more information. > >>> > >>>>>> > >>>>>> from sys import path > >>>>>> path.append('/usr/lib/paraview') > >>>>>> from paraview.simple import * > >>>>>> > >>> > >>> paraview version 3.8.0, Date: 2010-03-26 > >>> Traceback (most recent call last): > >>> File "/usr/lib/pymodules/python2.6/paraview/servermanager.py", line > >>> 2922, > >>> in _proxyDefinitionsUpdated > >>> if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): > >>> AttributeError: GetProxyDefinitionsUpdated > >>> Traceback (most recent call last): > >>> File "/usr/lib/pymodules/python2.6/paraview/servermanager.py", line > >>> 2922, > >>> in _proxyDefinitionsUpdated > >>> if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): > >>> AttributeError: GetProxyDefinitionsUpdated > >>> --------------- > >>> > >>> Any other clever ideas, please? > >>> > >>> > >>> On 2011-01-18 20:49, David Partyka wrote: If you add /usr/lib/paraview > to > >>> LD_LIBRARY_PATH does it work? > >>> > >>> On Tue, Jan 18, 2011 at 2:44 PM, Mr. M. <[email protected]> wrote: > >>> > >>>> > >>>> Dear all > >>>> > >>>> Please bear over with me, but I've tried to google for the following > >>>> error > >>>> messages and have seen that other people have the same problem as me > >>>> (but > >>>> the threads have been unanswered). I hope somebody can help me avoid > >>>> this > >>>> error: > >>>> > >>>> ------------------- > >>>> $ python > >>>> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) > >>>> [GCC 4.4.5] on linux2 > >>>> Type "help", "copyright", "credits" or "license" for more information. > >>>> > >>>>>>> > >>>>>>> from sys import path > >>>>>>> path.append('/usr/lib/paraview') > >>>>>>> from paraview.simple import * > >>>>>>> > >>>> > >>>> Traceback (most recent call last): > >>>> File "<stdin>", line 1, in <module> > >>>> File "/usr/lib/pymodules/python2.6/paraview/simple.py", line 39, in > >>>> <module> > >>>> import servermanager > >>>> File "/usr/lib/pymodules/python2.6/paraview/servermanager.py", line > 43, > >>>> in <module> > >>>> import paraview, re, os, new, sys, vtk > >>>> File "/usr/lib/pymodules/python2.6/paraview/vtk/__init__.py", line 4, > >>>> in > >>>> <module> > >>>> from libvtkCommonPython import * > >>>> ImportError: libvtkCommonPythonD.so.pv3.8: cannot open shared object > >>>> file: > >>>> No such file or directory > >>>> ------------------- > >>>> > >>>> But it's not true - I've have the file it's looking for: > >>>> > >>>> martin@MEK-404-MFJO-01:~$ locate libvtkCommonPythonD.so > >>>> /usr/lib/paraview/libvtkCommonPythonD.so > >>>> /usr/lib/paraview/libvtkCommonPythonD.so.pv3.8 > >>>> > >>>> > >>>> ??? > >>>> > >>>> I know somebody who's running Ubuntu 10.04 and doesn't have this > problem > >>>> so I think the problem is related to something that has changed > between > >>>> these two versions... > >>>> > >>>> Please advice - any suggestions are most welcome... > >>>> > >>>> _______________________________________________ > >>>> Powered by www.kitware.com > >>>> > >>>> Visit other Kitware open-source projects at > >>>> http://www.kitware.com/opensource/opensource.html > >>>> > >>>> Please keep messages on-topic and check the ParaView Wiki at: > >>>> http://paraview.org/Wiki/ParaView > >>>> > >>>> Follow this link to subscribe/unsubscribe: > >>>> http://www.paraview.org/mailman/listinfo/paraview > >>>> > >>> > >>> _______________________________________________ > >>> Powered by www.kitware.com > >>> > >>> Visit other Kitware open-source projects at > >>> http://www.kitware.com/opensource/opensource.html > >>> > >>> Please keep messages on-topic and check the ParaView Wiki at: > >>> http://paraview.org/Wiki/ParaView > >>> > >>> Follow this link to subscribe/unsubscribe: > >>> http://www.paraview.org/mailman/listinfo/paraview > >>> > >>> > >>> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
