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-1103.0.32.62)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
pvpython
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.
I know it’s been a long time since you asked this question. However, I faced the almost same problem when I tried to download source code by following instructions in ParaView:Build And Install and thought it might be helpful for others. The steps I followed are:
Enabling or disabling is a user-side thing; there’s nothing that we can put into our repository that will block this. git-lfs loves installing itself system- or user-wide so that it “just works” for any repo. Myself, I don’t do that and only enable git-lfs for specific projects where I need to interact with it using git lfs install --local in the relevant repositories (only needed once).