Hi Dennis Setting the PYTHONPATH environment variables is taken into account by pvpython or paraview :
[glow@snowman ~/work/paraview/paraviewSecondary/paraview_build]$ ./bin/pvpython Python 2.7.13 (default, Feb 11 2017, 12:22:40) [GCC 6.3.1 20170109] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print(sys.path) ['', '/home/glow/work/paraview/paraviewSecondary/paraview_build/lib/site-packages', '/home/glow/work/paraview/paraviewSecondary/paraview_build'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynpackages', '/usr/lib/python2.7/site-packages/gtk-2.0'] >>> vtkDebugLeaks has found no leaks. [glow@snowman ~/work/paraview/paraviewSecondary/paraview_build]$ PYTHONPATH=/home/glow/tmp/ ./bin/pvpython Python 2.7.13 (default, Feb 11 2017, 12:22:40) [GCC 6.3.1 20170109] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print(sys.path) ['', '/home/glow/work/paraview/paraviewSecondary/paraview_build/lib/site-packages', '/home/glow/work/paraview/paraviewSecondary/paraview_buildib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/libib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gtk-2.0'] >>> You may notice the supplementary "/home/glow/tmp" in the second execution. So you may want to check the python path when you execute pvpython. FYI there is a python shell within paraview in Tools->Python Shell. Regards, @Alan : Yes, we have been exchanging but I forgot to include the ML. Mathieu Westphal On Fri, Jun 30, 2017 at 2:12 AM, Scott, W Alan <wasc...@sandia.gov> wrote: Dennis, Did you ever get an answer? Ping Kitware? Thanks team, Alan From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Dennis Conklin Sent: Wednesday, June 28, 2017 12:49 PM To: Paraview (paraview@paraview.org) <paraview@paraview.org> Subject: [EXTERNAL] [Paraview] Add tkinter to Paraview without compiling? All, Is there a way to add tkinter to the Linux binary downloaded from the site or will we need to compile from source here to accomplish this? Thanks Dennis _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview @Alan : Yes, we have been exchanging but I forgot to include the ML. Mathieu Westphal On Fri, Jun 30, 2017 at 2:12 AM, Scott, W Alan <wasc...@sandia.gov> wrote: > Dennis, > > Did you ever get an answer? > > > > Ping Kitware? > > > > Thanks team, > > > > Alan > > > > *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Dennis > Conklin > *Sent:* Wednesday, June 28, 2017 12:49 PM > *To:* Paraview (paraview@paraview.org) <paraview@paraview.org> > *Subject:* [EXTERNAL] [Paraview] Add tkinter to Paraview without > compiling? > > > > All, > > > > Is there a way to add tkinter to the Linux binary downloaded from the site > or will we need to compile from source here to accomplish this? > > > > Thanks > > > > Dennis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview