![]() You can close the plugins window and messages window with many errors (yes, just ignore them). Wait for about 1 minute and it's completed. Which must be located in your PYTHONPATH path (as described above, for me it's /usr/local/lib/python2.7/site-packages) ![]() usr/local/lib/python2.7/site-packages/PVPlugins/PVGeo_All.py We use this plugin on MacOS only although its cross platform and can be used with Linux and Windows ParaView builds too. Really, this step is magic but it's required on my host.įrom menu "Tools" -> "Manage Plugins" select "Load New." button and load script Now we need to open embedded Python console from menu item "View" -> "Python Shell" and launch this command: import pyvista In your ~/.bash_profile script or other place by your choice.įor Microsoft Windows use the official system documentation: Launchctl unload ~/Library/LaunchAgents/istįor Linux systems use command export PYTHONPATH=/usr/local/lib/python2.7/site-packages Note: in case of update the configuration file we need to reload the configuration: launchctl stop ~/Library/LaunchAgents/ist Launchctl start ~/Library/LaunchAgents/ist Launchctl load ~/Library/LaunchAgents/ist Launchctl setenv PYTHONPATH /usr/local/lib/python2.7/site-packages To install the variable permanently we can use these Terminal commands: cat > ~/Library/LaunchAgents/ist For the recent MacOS Mojave this command creates the variable for current session only. Where /usr/local/lib/python2.7/site-packages is the libraries path for your installed python2.7įor older MacOS versions this command can setup the environment variable permanently and this value will be saved after reboot. Use MacOS Terminal to execute the commands: launchctl setenv PYTHONPATH /usr/local/lib/python2.7/site-packages Use MacOS Terminal to execute the commands: pip2.7 install pyvista Use MacOS Terminal to execute this command: brew install Python 2.7 modules In case if you didn't do it before follow this link first: Look for the appropriate ParaView version here:įor now it is ParaView-5.7. For Microsoft Windows use Anaconda Python 2.7 distributive or some similar. ![]() That's almost same for Debian/Ubuntu Linux where we just need to replace Homebrew by aptitude package manager to install python 2.7. This will open the ParaView Plugin Manager dialog. In the Tools menu, select 'Manage Plugins.'. Select the 'Tools' menu from the ParaView menu bar (at the top of the application window in Linux and Windows, at the top of the desktop in MacOSX). By my opinion, MacOS is the most usable desktop operation system for Open Source GIS and so below we explain how to install and load PVGeo Plugins into ParaView on it. First, open the ParaView Plugin Manager dialog. I use Debian Linux for almost 20 years and MacOS for 6 years.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |