element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum How to install Scipy on Ragnar's image.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 9 replies
  • Answers 2 answers
  • Subscribers 675 subscribers
  • Views 1471 views
  • Users 0 members are here
  • wolfson
  • raspberry
  • pi
  • scipy
  • raspberry_pi
  • raspeberry_pi_accessories
Related

How to install Scipy on Ragnar's image.

Former Member
Former Member over 10 years ago

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.

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 10 years ago

    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?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    You should update but not upgrade.

    sudo apt-get update is safe, it doesn't touch your installation. It will only update the list of the Raspbian repository mirrors.

     

    sudo apt-get upgrade  will download and install newer versions of things.

     

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

    Yes, pretty much.

    There should be a safety copy of the Wolfson kernel - /boot/kernel_wolfson.img. If an upgrade destroys the Wolfson drivers, just

    sudo cp /boot/kernel_wolfson.img /boot/kernel.img

    to get the Wolfson drivers back.

    --

    Ragnar

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    Thanks for reply Ragnar.

    If I could simply swap the copy of the Wolfson Kernel after upgrade, why did you recommend not to do it?

    Is there a risk that it might not work after upgrade even if you'd restore configuration files?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    The update fixes missing URL to the repositories which is what you need for comment at top. Safe and first try. Do more later if does not work IMHO.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    Dear Clem,

     

    Safe and first try. Do more later if does not work IMHO.

    What do you mean by this? Do you mean fix the URL then try upgrading if it doesn't work?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    Run apt-get update please

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    I want you to take small, safe steps as clem57 points out.

     

    If I could simply swap the copy of the Wolfson Kernel after upgrade, why did you recommend not to do it?
    Is there a risk that it might not work after upgrade even if you'd restore configuration files?

    Yes, there is a risk, albeit a small one. An upgrade will pull in more than a years worth of upgrades of who-knows-what. There is a possibility that some upgraded things will cease to work when you restore the kernel. And I don't know which things that might break, or how problems might manifest themselves.

    --

    Ragnar

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    Update adds only new repositories <== safe would do in my sleep.

    Upgrade will take software down to your machine. <== may not want.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    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 image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube