Differences
This shows you the differences between two versions of the page.
— |
installation_scipy [2017/03/30 13:46] (current) y.audouin created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installation of scipy 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 scipy'' | ||
+ | </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 scipy''\\ | ||
+ | </box> | ||
+ | ===== Installation ===== | ||
+ | |||
+ | Type in a terminal: | ||
+ | <box round> | ||
+ | ''sudo apt-get install python-scipy'' | ||
+ | </box> |