x86_64
architectures and MacOS 12
using Python 3.12
.
ttk-paraview-v5.13.0-macos-12.tar.gz
ttk-1.3.0-macos-12.tar.gz
$
character):$ brew reinstall python
$ brew install --cask xquartz
$ brew install glew ninja mesa qt@5
$ brew install boost eigen graphviz llvm numpy qhull spectra sqlite zlib
/usr/local
, however you could install into a different directory and adjust the paths as indicated below. To install TTK's version of ParaView, open a terminal and enter
the following command (omit the $
character):$ mkdir ~/ttk-binary
$ mv ~/Downloads/ttk-paraview-v5.13.0-macos-12.tar.gz ~/ttk-binary
$ cd ~/ttk-binary
$ tar xzvf ttk-paraview-v5.13.0-macos-12.tar.gz
$ sudo cp -r ttk-paraview/* /usr/local
$
character):$ mv ~/Downloads/ttk-1.3.0-macos-12.tar.gz ~/ttk-binary
$ cd ~/ttk-binary
$ tar xzvf ttk-1.3.0-macos-12.tar.gz
$ sudo cp -r ttk/* /usr/local
$
character):$ echo "export CMAKE_PREFIX_PATH=$(brew --prefix qt@5)/lib/cmake:$CMAKE_PREFIX_PATH" >> ~/.zshrc
$ echo "export PYTHONPATH=${PYTHONPATH}:/usr/local/lib/python3.12/site-packages/" >> ~/.zshrc
$ echo "export PV_PLUGIN_PATH=${PV_PLUGIN_PATH}:/usr/local/lib/plugins/" >> ~/.zshrc
$ echo "export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/usr/local/lib" >> ~/.zshrc
(this is only necessary if installed somewhere other than /usr/local
, changed to your install directory)$ echo "export PATH=${PATH}:/usr/local/bin/" >> ~/.zshrc
(this is only necessary if installed somewhere other than /usr/local
, changed to your install directory)$ source ~/.zshrc
pip
(if present on the system):$ pvpython -m pip install scikit-learn
. If pvpython is not found or creates an error, this indicates either your PATH
or PYTHONPATH
variable is not set correctly.
$ paraview
PATH
or DYLD_LIBRARY_PATH
variable is not set correctly. Likewise, for the examples tested below, they might reveal issues with the PV_PLUGIN_PATH
variable.Privacy & Security
panel. Under the General
tab you should be able to find an option to Allow Anyway
.
If all works, you should see the following TTK startup screen:Now, please visit our tutorial page to watch video tutorials showing how to use TTK with ParaView with concrete examples and how to use it from your own Python or C++ code or how to extend TTK by writing up your own module!