# Lzma error while running module and its not importing meshio

**URL:** <https://discourse.slicer.org/t/lzma-error-while-running-module-and-its-not-importing-meshio/11705>\
**Category:** Development\
**Created:** [May 26, 2020, 7:46am UTC](https://discourse.slicer.org/t/lzma-error-while-running-module-and-its-not-importing-meshio/11705 "2020-05-26T07:46:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saima](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@Saima](https://discourse.slicer.org/u/Saima)\
**Post date:** [May 26, 2020, 7:46am UTC](https://discourse.slicer.org/t/lzma-error-while-running-module-and-its-not-importing-meshio/11705/1 "2020-05-26T07:46:37Z")

</div>

Hi Andras,  
I am getting the following error. Could you please help how can I resolve it in slicer 4.11.0-2020-02-25.

Traceback (most recent call last):  
File “/home/saima/slicer/Slicer-4.11.0-2019-09-17-linux-amd64/ImageAsaModel/MeshNodesToFiducials/MeshNodesToFiducials.py”, line 210, in onVMeshButton  
logic.createVolumeMesh(sMesh, meshAlgo, int(cMin), int(cMax), int(optimize), int(meshQuality), int(lFactor))  
File “/home/saima/slicer/Slicer-4.11.0-2019-09-17-linux-amd64/ImageAsaModel/MeshNodesToFiducials/MeshNodesToFiducials.py”, line 367, in createVolumeMesh  
import meshio  
File “/home/saima/Slicer-4.11.0-2020-02-25-linux-amd64/lib/Python/lib/python3.6/site-packages/meshio/ **init**.py”, line 1, in   
from . import (  
File “/home/saima/Slicer-4.11.0-2020-02-25-linux-amd64/lib/Python/lib/python3.6/site-packages/meshio/\_cli/ **init**.py”, line 1, in   
from .\_ascii import ascii  
File “/home/saima/Slicer-4.11.0-2020-02-25-linux-amd64/lib/Python/lib/python3.6/site-packages/meshio/\_cli/\_ascii.py”, line 5, in   
from … import ansys, flac3d, gmsh, mdpa, ply, stl, vtk, vtu, xdmf  
File “/home/saima/Slicer-4.11.0-2020-02-25-linux-amd64/lib/Python/lib/python3.6/site-packages/meshio/vtu/ **init**.py”, line 1, in   
from .\_vtu import read, write  
File “/home/saima/Slicer-4.11.0-2020-02-25-linux-amd64/lib/Python/lib/python3.6/site-packages/meshio/vtu/\_vtu.py”, line 8, in   
import lzma  
File “/home/saima/Slicer-4.11.0-2020-02-25-linux-amd64/lib/Python/lib/python3.6/lzma.py”, line 27, in   
from \_lzma import \*  
ModuleNotFoundError: No module named ‘\_lzma’

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [May 26, 2020, 12:11pm UTC](https://discourse.slicer.org/t/lzma-error-while-running-module-and-its-not-importing-meshio/11705/2 "2020-05-26T12:11:23Z")

</div>

Lzma is typically a built in module in Python, but the Python that Slicer is using does not currently include it. You can follow [https://github.com/Slicer/Slicer/issues/4920](https://github.com/Slicer/Slicer/issues/4920) to track the progress of starting to include it. It really only becomes an issue if the specific methods in that Python package are using it. If you are importing the entire package but don’t actually need it then you can ignore it.
