crash on "from paraview.simple import *" after fresh install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paraview (Debian) |
Fix Released
|
Unknown
|
|||
paraview (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
> python -c "from paraview.simple import *"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
<module>
import servermanager
File "/usr/lib/
43, in <module>
import paraview, re, os, os.path, new, sys, vtk
File "/usr/lib/
in <module>
from vtkCommonPython import *
ImportError: No module named vtkCommonPython
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: paraview-python 3.10.1-6
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Fri Oct 28 11:13:09 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: paraview
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in paraview (Debian): | |
status: | Unknown → Fix Released |
Changed in paraview (Debian): | |
status: | Fix Released → New |
Changed in paraview (Debian): | |
status: | New → Fix Released |
I just found out that I needed to modify my PYTHONPATH to include /usr/lib/paraview.
I do not know much about python application packaging, but I suppose some links are missing from standard python directories to the /usr/lib/paraview libraries.