Differences
This shows you the differences between two versions of the page.
— |
installation_mayavi [2017/03/30 14:52] (current) y.audouin created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installation of Mayavi on Linux ====== | ||
+ | ===== Check if it is already installed ===== | ||
+ | |||
+ | Type in a terminal: | ||
+ | <box round> | ||
+ | python | ||
+ | </box> | ||
+ | Then in the Python environment type: | ||
+ | <box round> | ||
+ | ''import mayavi'' | ||
+ | </box> | ||
+ | If numpy is not installed you should get the following error: | ||
+ | <box round> | ||
+ | ''Traceback (most recent call last):''\\ | ||
+ | ''File "<stdin>", line 1, in <module>''\\ | ||
+ | ''ImportError: No module named mayavi''\\ | ||
+ | </box> | ||
+ | ===== Installation ===== | ||
+ | |||
+ | Type in a terminal: | ||
+ | <box round> | ||
+ | ''sudo apt-get install mayavi2'' | ||
+ | </box> |