Atmospheric Toolbox

Unable to run VISAN -ModuleNotFoundError: No module named 'vtkCommonCorePython'

I’m trying to run Visan in a fresh Miniconda3 environment, only Visan is installed and the Python version is 3.7. Running on Ubuntu 20.04.

VTK will not import in Python with python3 -m vtk

The vtkCommonCorePython files seem to exist in my conda environment.

Any help would be appreciated. Thanks.

See below for error.

(py37) dan@Burke:~$ visan
Traceback (most recent call last):
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/vtkmodules/vtkCommonCore.py”, line 5, in
from .vtkCommonCorePython import *
ImportError: /home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/vtkmodules/…/…/…/./libvtkCommonCore-8.2.so.1: undefined symbol: _ZTIN3tbb4taskE

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 1, in
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/vtk.py”, line 32, in
all_spec.loader.exec_module(all_m)
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/vtkmodules/all.py”, line 7, in
from .vtkCommonCore import *
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/vtkmodules/vtkCommonCore.py”, line 9, in
from vtkCommonCorePython import *
ModuleNotFoundError: No module named ‘vtkCommonCorePython’
Traceback (most recent call last):
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/visan/app.py”, line 119, in OnInit
self.frame = VisanFrame(self, "VISAN " + VERSION, WindowHandler.GetNextPosition((800, 640)), (800, 640))
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/visan/frame.py”, line 52, in init
self.shell = VisanShell(self)
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/visan/shell.py”, line 41, in init
self.runStartupCommands(locals)
File “/home/dan/miniconda3/envs/py37/lib/python3.7/site-packages/visan/shell.py”, line 65, in runStartupCommands
“VTK %s” % interp.locals[‘vtk’].VTK_VERSION,
KeyError: ‘vtk’
OnInit returned false, exiting…
(py37) dan@Burke:~$ conda install -c stcorp-forge vtkCommonCorePython
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • vtkcommoncorepython

Current channels:

To search for alternate channels that may provide the conda package you’re
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.