Page MenuHomePhabricator

mitkPythonService fails to load vtk and cv2 python modules
Closed, ResolvedPublic

Assigned To
Authored By
neher
Aug 31 2018, 4:29 PM
Referenced Files
F1161366: cv2_valgrind.txt
Aug 31 2018, 4:31 PM
F1161365: vtk.txt
Aug 31 2018, 4:29 PM
F1161364: cv2.txt
Aug 31 2018, 4:29 PM

Description

Crashes on "import cv2":

Fails on "import vtk":

It seems that the correct python module is found but it cannot be loaded.
Both commands run fine in the system python console!

Event Timeline

neher triaged this task as Normal priority.Aug 31 2018, 4:29 PM
neher created this task.

Workbench output with valgrind on "import cv2":

neher claimed this task.

works fine if vtk and opencv are not installed using pip but apt:
apt install python3-vtk7
apt install python3-opencv