Skip to content

Unable to import the segmentation module #631

@ChristianMaier

Description

@ChristianMaier

When I try to import the segmentation module it gives me the following error:
File "/opt/director/build/install/lib/python3.6/site-packages/director/segmentation.py", line 41, in
planeSegmentationFilter = vtk.vtkPlaneSegmentation
AttributeError: module 'director.vtkAll' has no attribute 'vtkPlaneSegmentation'

And:
File "/opt/director/build/install/lib/python3.6/site-packages/director/segmentation.py", line 43, in
planeSegmentationFilter = vtk.vtkPCLSACSegmentationPlane
AttributeError: module 'director.vtkAll' has no attribute 'vtkPCLSACSegmentationPlane'

I tracked it down and indeed these modules are not in the python modules. I tweaked a little bit around but i am not able to solve it.
I am running a ubuntu 18.04. The director package is freshly installed.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions