Hello community,
I normally run my Paraview scripts in pvpython, so far without issues. But
I got some problems using specific Python functions (multiprocess), and
decided to switch to import paraview libraries directly within Python
I set my PYTHONPATH variable to the installation library where
You also have to prepend the paths with the .so's to LD_LIBRARY_PATH
before starting python.
Burlen
On 06/16/2015 07:19 PM, Felix Salazar wrote:
Hello community,
I normally run my Paraview scripts in pvpython, so far without issues.
But I got some problems using specific Python functions
(m
Tried it, but for some reason, it breaks python
$ python
Could not find platform independent libraries
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
ImportError: No module named site
*FĂ©lix Salazar**felix.sala...@polymtl.ca
are you by chance mixing two python installs? like one from a paraview
binary you didn't build yourself, and your system python?
On 06/17/2015 10:47 AM, Felix Salazar wrote:
Tried it, but for some reason, it breaks python
$ python
Could not find platform independent libraries
Could not find p
Hi Felix,
I just happened upon the same problem yesterday. The solution was to add
the directory with the vkt shared objects into the PYTHONPATH. Those are
in .../site-packages/vtk. The .../site-packages/paraview/vtk is just a
mirror that includes the libraries from the top-level vtk directory.
H
I find it easier to figure this out by using pvpython and then doing the
following:
import sys
print sys.path
The path should have all the directories that need to be set in your
PYTHONPATH.
Utkarsh
On Fri, Jun 19, 2015 at 2:15 AM Timo Oster wrote:
> Hi Felix,
>
> I just happened upon the s