"ImportError: No module named scipy" after installing the scipy package
pip, python, scipy
Solution
Unless you are inside the pip environment it won't work, at all. I would recommend you to install the `python-scipy` package instead, which would assure you that will work:
➜ ~ sudo apt-get install python-scipy
Selecting previously unselected package python-decorator.
(Reading database ... 252269 files and directories currently installed.)
Preparing to unpack .../python-decorator_3.4.0-2_all.deb ...
Unpacking python-decorator (3.4.0-2) ...
Selecting previously unselected package python-scipy.
Preparing to unpack .../python-scipy_0.13.3-2+b1_i386.deb ...
Unpacking python-scipy (0.13.3-2+b1) ...
Setting up python-decorator (3.4.0-2) ...
Setting up python-scipy (0.13.3-2+b1) ...
➜ ~ python
Python 2.7.7 (default, Jun 3 2014, 23:36:29)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>>
Problem
So I recently tried to install scipy on my Raspbian (Debian for Raspberry Pi) operating system using `sudo pip install scipy`. The command worked without too much trouble, and I can see the file located under `pi/build/scipy`. However, when I actually try to import it in a python program, it gives me `ImportError: No module named scipy` I'm not really sure how to go about pointing the OS in the correct location to import the scipy module.