Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9882 Discussions

How to install scipy?

New Contributor II

I tried installing scipy (numpy is installed by default). I'm using the eglibc.

1) pip install

root@galileo:/media/card# pip install scipy

Collecting scipy

/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_ .py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may c ause the server to present an incorrect TLS certificate, which can cause validat ion failures. For more information, see t/security.html# snimissingwarning.


/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_ .py:120: InsecurePlatformWarning: A true SSLContext object is not available. Thi s prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see n/latest/security.html# insecureplatformwarning.


Downloading scipy-0.17.0.tar.gz (12.4MB)

100% |# | 12.4MB 1.0kB/s

Building wheels for collected packages: scipy

Running bdist_wheel for scipy ... error

Complete output from command /usr/bin/python -u -c "import setuptools, tokeniz e;__file__='/tmp/pip-build-cULFeC/scipy/';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist _wheel -d /tmp/tmpMx25pMpip-wheel- --python-tag cp27:

Traceback (most recent call last):

File "", line 1, in

File "/tmp/pip-build-cULFeC/scipy/", line 265, in


File "/tmp/pip-build-cULFeC/scipy/", line 262, in setup_package


File "/usr/lib/python2.7/site-packages/numpy/distutils/", line 143, i n setup

dist = setup(**new_attr)

File "/usr/lib/python2.7/site-packages/numpy/distutils/", line 186, i n setup

return old_setup(**new_attr)

File "/usr/lib/python2.7/distutils/", line 138, in setup

ok = dist.parse_command_line()

File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/setuptool s/", line 232, in parse_command_line

result = _Distribution.parse_command_line(self)

File "/usr/lib/python2.7/distutils/", line 467, in parse_command_line

args = self._parse_command_opts(parser, args)

File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/setuptool s/", line 558, in _parse_command_opts

nargs = _Distribution._parse_command_opts(self, parser, args)

File "/usr/lib/python2.7/distutils/", line 523, in _parse_command_opt s

cmd_class = self.get_command_class(command)

File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/setuptool s/", line 362, in get_command_class


File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resou", line 2029, in require


File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resou", line 2239, in requires

dm = self._dep_map

File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resou", line 2468, in _dep_map

self.__dep_map = self._compute_dependencies()

File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resou", line 2501, in _compute_dependencies

common = frozenset(reqs_for_extra(None))

File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/pkg_resou", line 2498, in reqs_for_extra

if req.marker_fn(override={'extra':extra}):

File "/usr/lib/python2.7/site-packages/distribute-0.6.32-py2.7.egg/_markerli b/", line 100, in marker_fn

return eval(compiled_marker, environment)

File "", line 1, in

NameError: name 'sys_platform' is not defined


Failed building wheel for scipy

Running clean for scipy

Failed to build scipy

Installing collected packages: scipy

Running install for scipy ... error

Complete output from command /usr/bin/python -u -c "import setuptools, token ize;__file__='/tmp/pip-build-cULFeC/scipy/';exec(compile(getattr(tokeniz ...

3 Replies
Honored Contributor I

Hi BretchW,

A little bit off-topic (I don't know about scipy installation/usage), but I think Galileo is not focused in compute intensive tasks as those related to BLAS-Fortran. Maybe it's best just to forward HPC/compute intensive tasks to some better computing platform.

Just a suggestion, I don't know the details of your project,


New Contributor II

Hey Brecht,

Did you Try this: from-tarballs scipy/INSTALL.rst.txt at master · scipy/scipy · GitHub

You shouldn't need to install "tar" it should already function on your galileo.

try this: from the install docs i posted above: It's kind of slow but..

1. git clone <</span>https://thegitaddress/ https://thegitaddress>

2. cd scipy

3. git clean -xdf

4. python install --user

I tried this but I didn't have enough space on my galileo.

New Contributor II

I will try this as soon as /thread/99579?sr=inbox my partition is larger.

Thank you for your help.