<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yiv9871224779"><div id="yui_3_16_0_ym19_1_1493405192402_2703"><div style="background-color: rgb(255, 255, 255);" id="yui_3_16_0_ym19_1_1493405192402_2702"><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">Hi there,</div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"><br></div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">I'm new to VTK and the mailing list. Let me know if I'm going about asking questions the wrong way. </div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"><br></div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">I am new to programming/python. I am working through an introduction to python book, using Ipython, and I need to use mayavi. The book pointed me to "mayavi.sourceforge.net" and from there I followed the installation from sources link to download mayavi-1.5.zip (https://sourceforge.net/projects/mayavi/files/mayavi/1.5/). </div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"><br></div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">Then I attempted to follow the links for VTK, but they did not connect to anywhere. I went to the VTK.org/downloads and downloaded first the "Standalone Python Interface (Installer)" for linux (and unzipped it), but when trying to import VTK, I got the " No module named vtk" message. I tried installing the zip file from "Source",<span style="white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1493405192402_2701"> </span>VTK-7.1.1.zip but got the same error. </div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"><br></div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">When opening ipython to use mayavi, I input "ipython --gui=wx" and get these errors:</div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr" style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"><br></div><div id="yiv9871224779yui_3_16_0_ym19_1_1493404942213_11451" dir="ltr"><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3110">[TerminalIPythonApp] WARNING | Eventloop or matplotlib integration failed. Is matplotlib installed?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3111">---------------------------------------------------------------------------</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3112">ImportError                               Traceback (most recent call last)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3113">/home/mathew_mehrian/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/terminal/interactiveshell.pyc in enable_gui(gui, app)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3114">    337         from IPython.lib.inputhook import enable_gui as real_enable_gui</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3115">    338         try:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3116">--> 339             return real_enable_gui(gui, app)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3117">    340         except ValueError as e:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3118">    341             raise UsageError("%s" % e)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3119"><br id="yui_3_16_0_ym19_1_1493405192402_3120"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3121">/home/mathew_mehrian/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/lib/inputhook.pyc in enable_gui(self, gui, app)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3122">    248         self._current_gui = gui</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3123">    249 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3124">--> 250         app = gui_hook.enable(app)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3125">    251         if app is not None:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3126">    252             app._in_event_loop = True</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3127"><br id="yui_3_16_0_ym19_1_1493405192402_3128"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3129">/home/mathew_mehrian/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/lib/inputhook.pyc in enable(self, app)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3130">    310             app = wx.App(redirect=False, clearSigInt=False)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3131">    311         """</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3132">--> 312         import wx</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3133">    313 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3134">    314         wx_version = V(wx.__version__).version</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3135"><br id="yui_3_16_0_ym19_1_1493405192402_3136"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3137">/home/mathew_mehrian/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/wx/__init__.py in <module>()</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3138">     43 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3139">     44 # Load the package namespace with the core classes and such</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3140">---> 45 from wx._core import *</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3141">     46 del wx</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3142">     47 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3143"><br id="yui_3_16_0_ym19_1_1493405192402_3144"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3145">/home/mathew_mehrian/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/wx/_core.py in <module>()</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3146">      2 # Don't modify this file, modify the SWIG interface instead.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3147">      3 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3148">----> 4 import _core_</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3149">      5 import new</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3150">      6 new_instancemethod = new.instancemethod</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3151"><br id="yui_3_16_0_ym19_1_1493405192402_3152"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3153">ImportError: /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_type_class_adjust_private_offset</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3153"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3153"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3153">Matplotlib is definitely installed, I've used it before. </div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3153"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3153"><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3303">Could anyone please help me figure out what it is I am doing wrong?<br id="yui_3_16_0_ym19_1_1493405192402_3304"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3305"><br id="yui_3_16_0_ym19_1_1493405192402_3306"></div></div><div style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" dir="ltr" id="yui_3_16_0_ym19_1_1493405192402_3154"><br id="yui_3_16_0_ym19_1_1493405192402_3155"></div></div></div></div></div></div></body></html>