[Paraview] [EXT] Re: Using Pandas in Paraview v5.4.1
Scott Wittenburg
scott.wittenburg at kitware.com
Fri May 11 15:08:06 EDT 2018
Hi Dennis,
I'm not sure I understand precisely what you mean when you say "compile
here with an external python". Do you mean compiling your plugin (which
would imply not a simple xml plugin), or compiling ParaView? Even if you
compile ParaView on your end with an external python, I don't see how that
will result in something that will allow you to distribute your plugin as
xml. You could try to distribute a custom ParaView binary (which includes
your new plugin as well as pandas python modules), but for that you would
normally need to use the ParaView superbuild. Even then I think you would
have to tweak the superbuild to get the python to include pandas.
Hopefully someone out there with more knowledge can chime in and provide
some hints or suggestions. Then maybe we'll find out what you want to do
it quite easy, in which case I'll be excited to learn about it :-)
Cheers,
Scott
p.s. I'm sure you may have read through this before, but just in case (or
for people who come across this later):
https://www.paraview.org/Wiki/ParaView/Plugin_HowTo
On Fri, May 11, 2018 at 12:28 PM, Dennis Conklin <
dennis_conklin at goodyear.com> wrote:
> Scott,
>
>
>
> Interesting idea and I was not aware of any of that.
>
>
>
> I should be specific that I need to make an xml Server side plugin for
> general distribution that needs to call pandas to execute. So I don’t
> think I can get everyone here to load up that virtual environment and
> install pandas.
>
>
>
> I think I’m hearing that pandas for everyone is not available unless I
> compile here with an external python, right?
>
>
>
> Thanks
>
> Dennis
>
>
>
> *From:* Scott Wittenburg [mailto:scott.wittenburg at kitware.com]
> *Sent:* Friday, May 11, 2018 1:21 PM
> *To:* Dennis Conklin <dennis_conklin at goodyear.com>
> *Cc:* Paraview (paraview at paraview.org) <paraview at paraview.org>
> *Subject:* [EXT] Re: [Paraview] Using Pandas in Paraview v5.4.1
>
>
>
> *CAUTION: *EXTERNAL email. Please think before clicking on any links or
> attachments.
>
>
>
> Hello Dennis,
>
>
>
> Depending on how you want to use pandas within ParaView, one approach that
> could work involves creating a virtual environment and installing pandas
> there. Then a couple of lines of python can make modules installed in that
> virtualenv available from pvpython. See this blog post for more
> information:
>
>
>
> https://blog.kitware.com/using-pvpython-and-virtualenv/
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.kitware.com%2Fusing-pvpython-and-virtualenv%2F&data=01%7C01%7Cdennis_conklin%40goodyear.com%7Cc0392a7911e348a9ddbf08d5b7639c21%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=uJvHsBJNCGSTeklLNAk5QDZ48Ykdf1bdazrnW851AKw%3D&reserved=0>
>
>
>
> Hope this helps,
>
> Scott
>
>
>
> On Fri, May 11, 2018 at 11:11 AM, Dennis Conklin <
> dennis_conklin at goodyear.com> wrote:
>
> All,
>
>
>
> I need some pandas functions for some filters. Pandas, unfortunately is
> not a simple library (there is no pands.py) – it needs to be installed into
> your version of python as a module. How can I get this in Paraview
> (hopefully, without compiling from source). Can I install pandas into
> the python installation included with the PV download?
>
>
>
> Thanks
>
>
>
> Dennis
>
>
> _______________________________________________
> Powered by www.kitware.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=01%7C01%7Cdennis_conklin%40goodyear.com%7Cc0392a7911e348a9ddbf08d5b7639c21%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=10I%2BbpN%2Btcwg7aNqw8XEnENPPq4mp654mvc16cC8g%2Bk%3D&reserved=0>
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=01%7C01%7Cdennis_conklin%40goodyear.com%7Cc0392a7911e348a9ddbf08d5b7639c21%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=hFLWecPYngqgSHUyvpnCQg6A%2F9AdRxkUDQPGb0unEW0%3D&reserved=0>
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fparaview.org%2FWiki%2FParaView&data=01%7C01%7Cdennis_conklin%40goodyear.com%7Cc0392a7911e348a9ddbf08d5b7639c21%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=xr%2BBt6Q8g3Y7vf1kioiMPuFskjAoP3XF5KekAh3Ukto%3D&reserved=0>
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3DParaView&data=01%7C01%7Cdennis_conklin%40goodyear.com%7Cc0392a7911e348a9ddbf08d5b7639c21%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=uDovYUpJyTZWbykffgnvzPap9hg9GzShxqyWoWvGycQ%3D&reserved=0>
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fparaview&data=01%7C01%7Cdennis_conklin%40goodyear.com%7Cc0392a7911e348a9ddbf08d5b7639c21%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=DxSexyd8VxO7ncC8Oe0vAAlLJpe0bwZO%2BaPukh0XnEU%3D&reserved=0>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180511/74835ea0/attachment.html>
More information about the ParaView
mailing list