'module' object has no attribute 'engine'
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
Hi I'm trying to make it work the following ''test.py" script through the console by running `mayavi2 -x test.py`
The script ''test.py" contains:
`import menpo3d
from mayavi import mlab
engine = mlab.get_engine()
objp = 'sample_output/43ea285f-abd6-42c9-9444-d5d10f8122e0.obj'
mesh = menpo3d.io.import_mesh(objp)
s = mayavi.engine.current_scene
mesh.view()
s = mayavi.engine.current_scene
s.scene.camera.azimuth(90)
s.scene.reset_zoom()
s.scene.save_png('woooitworks!%d.png'%i)`
The error received is:
AttributeError: 'module' object has no attribute 'engine'
Thank you
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.