I have a python script that I am attempting to run in Anaconda Juypter Notebook using MacOS Catalina.
On a line that tries to import Paraview that says:
“from paraview.simple import *”
An error occurs that says:
“No module named ‘paraview’”
I’m really new to ParaView and Python as I am not too sure how to set the paths as stated in some of the topics. Or When typing out “pvpython” onto the terminal, this was what I got from the terminal as stated below.
(base) raphaels-mbp-2:~ Raphael$ python
Python 3.6.5 (default, Aug 23 2020, 11:53:50)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1184.108.40.206)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘pvpython’ is not defined
Lastly, I have tried following the steps as shown in this link below:
However, when typing “
git submodule update --init --recursive”, this was the error I got on the terminal.
git-lfs filter-process: git-lfs: command not found
fatal: The remote end hung up unexpectedly
Unable to checkout ‘f2aa6ad5be1a97e3fb41ef4680ee2c76c3434ac0’ in submodule path ‘VTK/ThirdParty/vtkm/vtkvtkm/vtk-m’
Failed to recurse into submodule path ‘VTK’
Really not sure what to do and how to resolve this issue. Currently, I know I have the anaconda platform installed (Using Juypter Notebook) along with ParaView v5.8.1.
Do kindly hope someone could help me with this as I am trying my best to understand how this works.