I am running Ubuntu 14.04. I have scipy 0.13.3 and I would like to upgrade it .
I have tried:
sudo pip3 install scipy --upgrade
but I receive this error:
creating build/lib.linux-x86_64-3.4/scipy/_build_utils
copying scipy/_build_utils/__init__.py ->
build/lib.linux-x86_64-3.4/scipy/_build_utils
copying scipy/_build_utils/_fortran.py ->
build/lib.linux-x86_64-3.4/scipy/_build_utils
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'dfftpack' library
Running from scipy source directory.
"object of type 'type' has no len()" in evaluating 'len(list)'
(available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)'
(available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)'
(available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)'
(available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)'
(available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)'
(available names: [])
error: library dfftpack has Fortran sources but no Fortran compiler found
----------------------------------------
Rolling back uninstall of scipy Cleaning up...
Command /usr/bin/python3 -c "import setuptools,
tokenize;__file__='/tmp/pip_build_root/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('
', '
'), file__,
'exec'))" install --record /tmp/pip-h0l8itnj-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/scipy Storing debug log for failure in /home/donbeo/.pip/pip.log
donbeo@donbeo-HP-EliteBook-Folio-9470m:~$
python3
How can I solve this? I am working on an almost fresh installation of Ubuntu 14.04.