# Mayavi mlab usage trouble

**URL:** <https://discourse.julialang.org/t/mayavi-mlab-usage-trouble/33954>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [January 30, 2020, 12:18am UTC](https://discourse.julialang.org/t/mayavi-mlab-usage-trouble/33954 "2020-01-30T00:18:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparrowhawk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sparrowhawk/32/9148_2.png) [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Post date:** [January 30, 2020, 12:18am UTC](https://discourse.julialang.org/t/mayavi-mlab-usage-trouble/33954/1 "2020-01-30T00:18:22Z")

</div>

I’m having trouble using `mayavi.mlab` even though I have been able to install mayavi using `Conda`.

I can do the following

`mv = pyimport("mayavi") #works`  
but cannot do either of the following  
`mlab = pyimport("mayavi.mlab") `  
or use  
`mv.mlab.volume_slice`  
I get the following error  
`The Python package mayavi.mlab could not be found by pyimport.`

I have tried using `pygui_start` with various backends before importing mayavi to no avail. Is anyone else using Mayavi for plotting in Julia v 1.1.1?
