Upgrade scipy to the latest version

Donbeo

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('\r\n', '\n'), 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.

karel

I saw from reading your question: how can I update scipy in winpython on windows? on Stack Overflow that you want to update scipy to version 0.14. There is an easier way of upgrading python3-scipy 0.13.3 to python3-scipy 0.14.0 than using pip3.

  1. Uninstall python3-scipy.

    sudo apt-get remove python3-scipy
    
  2. Download the python3-scipy package for Ubuntu 14.10.
    Visit http://packages.ubuntu.com/utopic/python3-scipy, select the version of python3-scipy that matches your operating system's architecture, select a mirror, and download the python3-scipy .deb file.

  3. Install the python3-scipy package for Ubuntu 14.10.
    Double-click on the python3-scipy .deb file that you downloaded to open it in the Ubuntu Software Center, and install it just like you would install any other package. The python3-scipy .deb file for Ubuntu 14.10 has the same dependency package versions as the python3-scipy package from the Ubuntu Software Center, so it should install in Ubuntu 14.04 without any problems.

In Ubuntu 16.04 it is possible to install python3-scipy 0.16.1 from the default Ubuntu repositories.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Latest scipy version on ubuntu

From Dev

Latest scipy version on ubuntu

From Dev

upgrade filezilla to latest version

From Dev

Upgrade WordPress to latest version in Linux

From Dev

How to upgrade VirtualBox to the latest version?

From Dev

How to upgrade VirtualBox to the latest version?

From Dev

How to upgrade to the latest GNOME version?

From Dev

How to upgrade SAMBA to latest version?

From Dev

upgrade ubuntu to the latest released version

From Dev

Upgrade WordPress to latest version in Linux

From Dev

How to upgrade to the latest GNOME version?

From Dev

Upgrade Pylint Version 1.9.2 to latest Version

From Java

How to upgrade docker-compose to latest version

From Dev

brew upgrade <package> does not update to the latest version

From Java

How to upgrade AWS CLI to the latest version?

From Java

How to upgrade Angular CLI to the latest version

From Dev

How to upgrade react-native to latest version

From Dev

Upgrade Django from 1.6.2 to latest version (~1.8)

From Dev

Wicket version is it always a good idea to upgrade to the latest?

From Dev

Upgrade GUIDE GUI widgets to latest Matlab version

From Dev

Play framework, upgrade project to latest version

From Dev

How to upgrade Pulseaudio to the latest available version?

From Dev

Will it be possible to upgrade to the latest Ubuntu from an older version

From Dev

Upgrade to latest version of firefox in RHEL 5.6

From Dev

How to upgrade Pulseaudio to the latest available version?

From Dev

How to upgrade qBittorrent to the latest stable (upstream) version?

From Dev

How do I upgrade to the latest version of Shotwell?

From Dev

upgrade `file` command to latest version in mac os

From Dev

Can't upgrade to the latest version of Windows 10

Related Related

  1. 1

    Latest scipy version on ubuntu

  2. 2

    Latest scipy version on ubuntu

  3. 3

    upgrade filezilla to latest version

  4. 4

    Upgrade WordPress to latest version in Linux

  5. 5

    How to upgrade VirtualBox to the latest version?

  6. 6

    How to upgrade VirtualBox to the latest version?

  7. 7

    How to upgrade to the latest GNOME version?

  8. 8

    How to upgrade SAMBA to latest version?

  9. 9

    upgrade ubuntu to the latest released version

  10. 10

    Upgrade WordPress to latest version in Linux

  11. 11

    How to upgrade to the latest GNOME version?

  12. 12

    Upgrade Pylint Version 1.9.2 to latest Version

  13. 13

    How to upgrade docker-compose to latest version

  14. 14

    brew upgrade <package> does not update to the latest version

  15. 15

    How to upgrade AWS CLI to the latest version?

  16. 16

    How to upgrade Angular CLI to the latest version

  17. 17

    How to upgrade react-native to latest version

  18. 18

    Upgrade Django from 1.6.2 to latest version (~1.8)

  19. 19

    Wicket version is it always a good idea to upgrade to the latest?

  20. 20

    Upgrade GUIDE GUI widgets to latest Matlab version

  21. 21

    Play framework, upgrade project to latest version

  22. 22

    How to upgrade Pulseaudio to the latest available version?

  23. 23

    Will it be possible to upgrade to the latest Ubuntu from an older version

  24. 24

    Upgrade to latest version of firefox in RHEL 5.6

  25. 25

    How to upgrade Pulseaudio to the latest available version?

  26. 26

    How to upgrade qBittorrent to the latest stable (upstream) version?

  27. 27

    How do I upgrade to the latest version of Shotwell?

  28. 28

    upgrade `file` command to latest version in mac os

  29. 29

    Can't upgrade to the latest version of Windows 10

HotTag

Archive