[Paraview] importing paraview.simple without overriding numpy
Shawn Waldon
shawn.waldon at kitware.com
Fri Mar 16 12:06:39 EDT 2018
Hi Miguel,
You could try adding the location of your numpy 1.13.1 before paraview's
site-packages in your PYTHONPATH to ensure it searches there first. I
don't think we compile against numpy, so there shouldn't be symbol errors
with using a different version.
HTH,
Shawn
On Fri, Mar 16, 2018 at 12:00 PM, Miguel Arriaga <mta2122 at columbia.edu>
wrote:
> Hi,
> I'm trying to import paraview.simple and numpy in a python script.
>
> The issue is that, when I add the "site-packages" path to my PYTHONPATH,
> numpy is imported from paraview and not from my system. If I check the
> version of numpy I get 1.8.1 instead of the 1.13.1 that I have.
>
> Is there anything I can do to resolve this?
>
> Best regards,
> Miguel
>
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180316/4a80b66d/attachment.html>
More information about the ParaView
mailing list