Install SciPy in AWS Tensorflow instance
<p>I'm completely hitting a brick wall. I'm trying to get SciPy installed o an AWS instance that is preconfigured with Tensorflow. The instance doesn't have the <code>apt-get</code> package manager, so I've been forced to use <code>pip</code></p>

<p>So I've tried <code>udo /usr/local/bin/pip install scipy</code>    </p>

<p>Note that I include the path because I somehow screwed up sudo access to <code>pip</code> </p>

<p>Then it throws this error first: <code>Failed building wheel for scipy</code></p>

<p>Then it tries running <code>setup.py clean</code> and it throws this error</p>

<pre><code>Command "/usr/bin/python -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-
e0UuQe/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --
record /tmp/pip-qKUiUV-record/install-record.txt --single-version-
externally-managed --compile" failed with error code 1 in /tmp/pip-
build-e0UuQe/scipy/
</code></pre>

<p>My AWS instance is running <code>[ec2-user@ip-172-31-28-195 ~]$ uname -a
Linux ip-172-31-28-195 4.1.10-17.31.amzn1.x86_64 #1 SMP Sat Oct 24 01:31:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</code></p>

<p><strong>UPDATE</strong> </p>

<p>I have successfully installed SciPy, but when I run a python script with the module included it throws a <code>no module</code> error</p>

<p>Successfully installed:</p>

<pre><code>[ec2-user@ip-172-31-28-195 ~]$ sudo yum install scipy
Loaded plugins: dkms-build-requires, priorities, update-motd, upgrade-helper
amzn-graphics/latest                                              | 2.1 kB     00:00
amzn-main/latest                                                  | 2.1 kB     00:00
amzn-updates/latest                                               | 2.3 kB     00:00
2 packages excluded due to repository priority protections
Package python26-scipy-0.12.1-1.8.amzn1.x86_64 already installed and latest version
Nothing to do
</code></pre>

<p>Error:</p>

<pre><code>[ec2-user@ip-172-31-28-195 udacity]$ python assignment_1.py
Traceback (most recent call last):
  File "assignment_1.py", line 7, in &lt;module&gt;
    from scipy import ndimage
ImportError: No module named scipy
</code></pre>