<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div id="compose-container" itemscope="" itemtype="https://schema.org/EmailMessage" style="direction:ltr">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name"></span></span>
<div>
<div style="direction:ltr">Miguel</div>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr">It is certainly possible to do this with a bit of work up front. I have done it with PV version 5.+</div>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr">The steps are something like this. </div>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr">1.) Install a python with UCS4 enabled</div>
<div style="direction:ltr">2.) place soft links to the paraview python module in your new python’s site-packages directly </div>
<div style="direction:ltr">3.) place a soft link to the paraview/vtk module in the site packages directory</div>
<div style="direction:ltr"><br>
</div>
<div style="direction:ltr">It’s been a while since I have done this, but it is nice to just have all the power of paraview.simple in your everyday python </div>
<div><br>
</div>
<div class="acompli_signature">Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> ParaView <paraview-bounces@public.kitware.com> on behalf of Miguel Arriaga <mta2122@columbia.edu><br>
<b>Sent:</b> Friday, March 16, 2018 7:44:53 PM<br>
<b>To:</b> Shawn Waldon<br>
<b>Cc:</b> ParaView list<br>
<b>Subject:</b> Re: [Paraview] importing paraview.simple without overriding numpy</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Thanks,<br>
I guess I just wanted to simply import "paraview.simple" as I usually do with other modules that I get from pip. Perhaps I should run paraview scripts "externally" by using pvpython.<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 16, 2018 at 1:15 PM, Shawn Waldon <span dir="ltr">
<<a href="mailto:shawn.waldon@kitware.com" target="_blank">shawn.waldon@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra"><span class="">On Fri, Mar 16, 2018 at 12:24 PM, Miguel Arriaga
<span dir="ltr"><<a href="mailto:mta2122@columbia.edu" target="_blank">mta2122@columbia.edu</a>></span> wrote:<br>
</span>
<div class="gmail_quote"><span class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div>
<div>Thanks Shawn,<br>
</div>
I was just wondering, would it be possible for the developers to change the location of the paraview module such that adding the location of the module to the python path would not import all other site-packages? Maybe I'm missing something, but it seems to
 me that this way we would be able to avoid these issues.<br>
<br>
</div>
</div>
</blockquote>
<div><br>
</div>
</span>
<div>Forwarding to the list since I don't make these decisions.  For what it is worth, I feel like it increases the maintenance burden on the developers too much for a niche use case.<br>
<br>
</div>
<div>Please keep the mailing list in the CC.<span class="HOEnZb"><font color="#888888"><br>
</font></span></div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Shawn<br>
</div>
</font></span></div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>