+ 1

why can not I import scipy in python code

Traceback (most recent call last): File "..\Playground\", line 6, in <module> from scipy import linalg ImportError: No module named 'scipy'

3rd Jan 2018, 11:40 AM
Learner Victor Ren
Learner Victor Ren - avatar
3 Answers
+ 1
FYI, I wrote the code in the code playground.
3rd Jan 2018, 11:40 AM
Learner Victor Ren
Learner Victor Ren - avatar
+ 1
Because scipy is an external package, and is not in the standard library. You have to use pip or something to install it, which I don't think is possible here, even with some advanced code in C or something.
3rd Jan 2018, 1:49 PM
LunarCoffee
LunarCoffee - avatar
+ 1
Thanks
8th Jan 2018, 9:44 PM
Learner Victor Ren
Learner Victor Ren - avatar