Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8376845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:31:24+00:00 2026-06-09T15:31:24+00:00

I try to import mlab in mayavi with Enthought distribution. It fails with from

  • 0

I try to import mlab in mayavi with Enthought distribution. It fails with

 from enthought.mayavi import mlab

and also with

 import enthought.mayavi
 from enthought.mayavi import mlab

So I had an idea maybe init.py in package mayavi (empty) was to be added with

 import mlab

but now the previous command raise exception with error

 Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    import enthought.mayavi
 File "C:\Python27\lib\site-packages\enthought\mayavi\__init__.py", line 1, in <module>
import mlab
  File "C:\Python27\lib\site-packages\enthought\mayavi\mlab.py", line 3, in <module>
    from mayavi.mlab import *
ImportError: No module named mayavi.mlab

Some thead I have found mentions that vtk could be root cause for this precise mlab import issue. I had vtk installed with Tcl-Tk Installer. But actually, enthought distribution already include some tvtk package. I added tvtk location to PYTHONPATH.

This is still not working.

Any idea about how to fix import issue of this kind? Or any comment related to use of enthought mlab (may require known work around)?

Thanks and regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:31:25+00:00Added an answer on June 9, 2026 at 3:31 pm

    Uninstalled Enthought distribution and installed python(x,y) last distribution. This is now working perfectly with

    from mayavi import mlab
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just follow this DIHQuickStart , try to import data to solr from mysql.
I have a problem using the SSIS. I try to import data from database
I am currently using PIL. from PIL import Image try: im = Image.open(filename) #
A lot of our modules start with: try: import json except ImportError: from django.utils
Every project from a certain ClearCase view that I try to import into JBoss
I try to import sql script, generated with Server Management Studio, into SQL Compact
I try to import a .jar lib. Add in code, I import it with
When I try to import the scipy module (version 0.11.0b1) in the Python interpreter
I have installed Numpy using ActivePython and when I try to import numpy module,
When I run a mysqldump command on my database and then try to import

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.