[Paraview] python error when importing paraview.simple with paraview 5.0

sean read read.sean62 at gmail.com
Sat Apr 16 04:42:54 EDT 2016


So I'm using wrapper files, described here
<http://superuser.com/questions/192573/how-do-you-specify-the-location-of-libraries-to-a-binary-linux>
to
add the directory to my LD_LIBRARY_PATH where necessary. Not a great
solution, but it's sufficient for now

On Wed, 13 Apr 2016 at 12:04 sean read <read.sean62 at gmail.com> wrote:

> Wait, check that, so adding  ".../lib/paraview-5.0" did fix the problem
> with python, but it has had other negative side effects. Now when I open
> certain filetypes in vim (so far that I've checked, .py, .tex, .bib, which
> are all types for which I have customised options) the terminal window
> shows strange text. For example:
>
>  "exim.py" 258L, 6565CTraceback (most recent call last):
>                                                          File
> "/usr/lib/python2.7/site.py", line 563, in <module>
>
>                                            main()
>
>                                                    File
> "/usr/lib/python2.7/site.py", line 545, in main
>
>
>                                known_paths =
> addusersitepackages(known_paths)
>
>
>
>    File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
>                                                                user_site =
> getusersitepackages())
>
>
>
> After this it becomes unresponsive and I have to close the terminal. I am
> not entirely familiar with the use of the LD_LIBRARY_PATH, is there any
> reason that this alteration would effect the operation of vim?
>
>
> On Tue, 12 Apr 2016 at 22:18 sean read <read.sean62 at gmail.com> wrote:
>
>> Great! that fixed the problem, now everything is working perfectly
>>
>> On Tue, 12 Apr 2016 at 22:12 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>> wrote:
>>
>>> Try setting your LD_LIBRARY_PATH to include the ".../lib/paraview-5.0"
>>> directory.
>>>
>>> On Tue, Apr 12, 2016 at 5:53 AM, sean read <read.sean62 at gmail.com>
>>> wrote:
>>> > So I've downloaded paraview5.0 from the website
>>> > http://www.paraview.org/download/nload/, and set my python path as
>>> >
>>> >
>>> :/home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0:/home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0/site-packages/vtk:/home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/bin:/home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0/site-packages
>>> >
>>> > When I import paraview.simple in python I get the error message
>>> >
>>> > ImportError: libvtkCommonCorePython27D-pv5.0.so.1: cannot open shared
>>> object
>>> > file: No such file or directory
>>> >
>>> > but libvtkCommonCorePython27D-pv5.0.so.1 is in
>>> >
>>> /home/sean/bin/ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0,
>>> > which is in my python path.
>>> >
>>> > PV python is functioning as normal
>>> >
>>> > I am running linux mint 17.3
>>> >
>>> > Any suggestions?
>>> > --
>>> > Sean Read
>>> > Level 1 Yantra Yoga Instructor
>>> >
>>> >
>>> > _______________________________________________
>>> > 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
>>> >
>>> > Search the list archives at: http://markmail.org/search/?q=ParaView
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://public.kitware.com/mailman/listinfo/paraview
>>> >
>>>
>> --
>> Sean Read
>> Level 1 Yantra Yoga Instructor
>>
>> --
> Sean Read
> Level 1 Yantra Yoga Instructor
>
> --
Sean Read
Level 1 Yantra Yoga Instructor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160416/3288c008/attachment.html>


More information about the ParaView mailing list