9 Replies Latest reply on Mar 23, 2015 3:29 AM by seyoung

    How to install Scipy on Ragnar's image.

    seyoung

      Hi,

       

      I have Ragnar's 2014-01-07-wheezy-raspbianW installed on my RPi.

      I want to use Scipy for Real time sound analysis but I fail to install it.

      I tried:

      sudo easy_install scipy    # Installed for about one hour then failed that it cannot import numpy.distutils.log, but I could import it from Python.

      sudo apt-get install python-scipy    # This failed right after I hit enter.

       

      I googled and I learned that Scipy has been supported only since lately.

      I haven't done any

      sudo apt-get update

      sudo apt-get upgrade

      because it might overwrite Wolfson drivers.

      Or is there a way to restore the drivers after I update and upgrade?

      Is it only the driver configuration files and use_case scripts that matter?(This sounds too good to be true.....)

       

      Has anyone installed Scipy on Ragnar's image?

       

      Thanks in advance.

        • Re: How to install Scipy on Ragnar's image.
          seyoung

          I also tried to install iPython then I got this error:

          sudo apt-get install ipython
          
          Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main ipython all 0.13.1-2
            404  Not Found
          Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/i/ipython/ipython_0.13.1-2_all.deb  404  Not Found
          E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
          
          

           

          python-scipy:

          Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-dev armhf 1.0.1e-2+rpi1
            404  Not Found
          Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-doc all 1.0.1e-2+rpi1
            404  Not Found
          Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main python2.7-dev armhf 2.7.3-6
            404  Not Found
          Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-imaging armhf 1.1.7-4
            404  Not Found
          Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/o/openssl/libssl-dev_1.0.1e-2+rpi1_armhf.deb  404  Not Found
          Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/o/openssl/libssl-doc_1.0.1e-2+rpi1_all.deb  404  Not Found
          Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/python2.7/python2.7-dev_2.7.3-6_armhf.deb  404  Not Found
          Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/python-imaging/python-imaging_1.1.7-4_armhf.deb  404  Not Found
          E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
          

          It seems like I should update and upgrade the OS but it will mess up the Wolfson driver, right?

          • Re: How to install Scipy on Ragnar's image.
            seyoung

            I didn't have clear understanding of apt-get update. I thought it would simply show you the list of updates but it actually updates the local repository urls. Thank you for your kind answers Ragnar and Clem