# Error when running sample Slicer Jupyter Notebooks from local linux machine

**URL:** <https://discourse.slicer.org/t/error-when-running-sample-slicer-jupyter-notebooks-from-local-linux-machine/11975>\
**Category:** Support\
**Tags:** jupyter\
**Created:** [June 10, 2020, 7:29am UTC](https://discourse.slicer.org/t/error-when-running-sample-slicer-jupyter-notebooks-from-local-linux-machine/11975 "2020-06-10T07:29:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrius](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/andrius/32/6792_2.png) [@Andrius](https://discourse.slicer.org/u/Andrius)\
**Post date:** [June 10, 2020, 7:29am UTC](https://discourse.slicer.org/t/error-when-running-sample-slicer-jupyter-notebooks-from-local-linux-machine/11975/1 "2020-06-10T07:29:29Z")

</div>

Dear Slicers,

I am just getting started with Python and slicer. My goal is to use slicer to combine ITK, VTK and VMTK capabilities for vascular segmentation and geometric data extraction. I love the idea that all this can be combined with the rest of python packages.

I installed into my vmtk python environment as per instructions here:

> <https://github.com/Slicer/SlicerJupyter/blob/master/README.md#setup>

For the most part all the sample notebooks are running well from my local linux.  
However, this particular bit of code gives me an error. The manual segmentation part:

> <https://github.com/Slicer/SlicerNotebooks/blob/master/04_Segmentation.ipynb>

## The error I get:

TypeError Traceback (most recent call last)  
In [8]:  
Line 4:

## TypeError: ‘MRMLCorePython.vtkMRMLScalarVolumeNode’ object is not subscriptable

Hope somebody can help to troubleshoot 🙂

Cheers,  
Andrius
