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

**URL:** https://forum.atmospherictoolbox.org/t/unable-to-run-visan-modulenotfounderror-no-module-named-vtkcommoncorepython/336
**Category:** VISAN
**Created:** [June 11, 2021, 4:48am UTC](https://forum.atmospherictoolbox.org/t/unable-to-run-visan-modulenotfounderror-no-module-named-vtkcommoncorepython/336 "2021-06-11T04:48:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DM256](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/d/4491bb/32.png) [@DM256](https://forum.atmospherictoolbox.org/u/DM256)
#### Post date: [June 11, 2021, 4:48am UTC](https://forum.atmospherictoolbox.org/t/unable-to-run-visan-modulenotfounderror-no-module-named-vtkcommoncorepython/336/1 "2021-06-11T04:48:35Z")

</div>

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:

- [https://conda.anaconda.org/stcorp-forge/linux-64](https://conda.anaconda.org/stcorp-forge/linux-64)
- [https://conda.anaconda.org/stcorp-forge/noarch](https://conda.anaconda.org/stcorp-forge/noarch)
- [https://repo.anaconda.com/pkgs/main/linux-64](https://repo.anaconda.com/pkgs/main/linux-64)
- [https://repo.anaconda.com/pkgs/main/noarch](https://repo.anaconda.com/pkgs/main/noarch)
- [https://repo.anaconda.com/pkgs/r/linux-64](https://repo.anaconda.com/pkgs/r/linux-64)
- [https://repo.anaconda.com/pkgs/r/noarch](https://repo.anaconda.com/pkgs/r/noarch)

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.

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [June 23, 2021, 7:44am UTC](https://forum.atmospherictoolbox.org/t/unable-to-run-visan-modulenotfounderror-no-module-named-vtkcommoncorepython/336/2 "2021-06-23T07:44:15Z")

</div>

We just released a new version of VISAN (4.2).

Can you please try again installing visan in a clean conda environment using `conda install -c stcorp-forge -c conda-forge visan`)?

Pay attention that this installs visan 4.2 (and not 4.1).

---

<div class="post-metadata">

### Author: ![DM256](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/d/4491bb/32.png) [@DM256](https://forum.atmospherictoolbox.org/u/DM256)
#### Post date: [June 23, 2021, 8:14am UTC](https://forum.atmospherictoolbox.org/t/unable-to-run-visan-modulenotfounderror-no-module-named-vtkcommoncorepython/336/3 "2021-06-23T08:14:48Z")

</div>

It installs and runs, thanks! With one issue that to install 4.2 I needed to specify the version number.

```
conda install -c stcorp-forge -c conda-forge visan=4.2

```

 ![image](https://forum.atmospherictoolbox.org/uploads/default/original/1X/87dce313cf6ca5dc46004630665469a51a7ba0ed.png)
