[Paraview] problem freezing python

Ben Boeckel ben.boeckel at kitware.com
Mon Apr 24 09:52:25 EDT 2017


On Fri, Apr 21, 2017 at 12:10:36 -0700, Burlen Loring wrote:
> That file lives in: lib/python2.7/config/config.c.in

OK, it looks like the freeze_paraview.py file can't find it. Could you
debug around line 250 to see what it is actually doing?

> -set(ENV{PYTHONPATH} "${PACKAGE_ROOT}")
> +set(ENV{PYTHONPATH} "${PACKAGE_ROOT} $ENV{PYTHONPATH}")

I don't see how this is valid (unless breaking the first entry in
`PYTHONPATH` is the goal); it should be separated by a colon.

> "/usr/common/software/ParaView/python/2.7.12/lib/python2.7/struct.py", 

What Python is this? Where did it come from?

> line 1, in <module>
>      from _struct import *
> ImportError: No module named _struct

Can you import it in the interpreter living in the above directory?

--Ben


More information about the ParaView mailing list