Scott,

I assume that if I compile a ParaView executable with pandas included, then I 
could distribute my plugin as xml and everyone could access it.    I’m a little 
unsure but I assume I would also have to recompile the server that we are using 
on an HPC cluster to include pandas.   I’m beginning to see why adding pandas 
to ParaView has been delayed a few times.

Dennis

From: Scott Wittenburg [mailto:[email protected]]
Sent: Friday, May 11, 2018 3:08 PM
To: Dennis Conklin <[email protected]>
Cc: Paraview ([email protected]) <[email protected]>
Subject: Re: [EXT] Re: [Paraview] Using Pandas in Paraview v5.4.1

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<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.paraview.org%2FWiki%2FParaView%2FPlugin_HowTo&data=01%7C01%7Cdennis_conklin%40goodyear.com%7Caaa51a7dfa554f96298a08d5b77288bc%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=xbwuecNf2e9PbFYvKjpfDbZS3k6TMAf67OYmHW2S50E%3D&reserved=0>


On Fri, May 11, 2018 at 12:28 PM, Dennis Conklin 
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
Sent: Friday, May 11, 2018 1:21 PM
To: Dennis Conklin 
<[email protected]<mailto:[email protected]>>
Cc: Paraview ([email protected]<mailto:[email protected]>) 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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>


_______________________________________________
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

Reply via email to