Raspberry pi 3 mode b installation problems

Hello, I am trying to install bibliopixel running on a raspberry pi 3 model b running raspbian stretch 11-13-2018 build. I have tried installing using both “sudo” and using ”virtulenv”.each way bibliopixel starts to build and fails do to a problem with numpy. Python version in this version of raspbian is 3.5.3 and I have been using pip3 install.

The error is: Importing the mulitarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you’re working with a numpy git repo, try “git clean -xdf (remove all files not under version control). Otherwise reinstall numpy.

I tried uninstalling numpy and then reinstalling numpy and get the same error.

Any help would be appreciated even if it is the recommendation to downgrade to an earlier version of the raspbian build that is verified to work with bibliopixel.
Thank you

Robert, Can you copy the full output from the pip install bibliopixel command? I feel like we are missing some stuff from your error.
However, I think you might just need this: sudo apt-get install libatlas-base-dev
Then install again. At least I remember I had a problem with numpy on the Pi a while back and I have a note for myself with no context other than “fix numpy on pi” and that command :stuck_out_tongue:
But I’m pretty sure it had to do with some multiarray thing.
At least it’s a place to start

  • Adam
···

On Tue, Nov 20, 2018 at 5:14 PM Tom Swirly tom@swirly.com wrote:

Sorry about that.

So you get an error installing numpy even into a fresh virtualenv?!

This probably isn’t our error directly - numpy is an extremely common package.

That’s really baffling! I did some research on this, and people suggest it might be that your version of Python that’s broken?

You could try installing Python 3.6 or even 3.7 and try again with that version?

On Tue, Nov 20, 2018 at 11:10 PM Tom Swirly tom@swirly.com wrote:

Ah, so you get this error

On Tue, Nov 20, 2018 at 11:03 PM Robert Joyce trirob34@gmail.com wrote:

Hello, I am trying to install bibliopixel running on a raspberry pi 3 model b running raspbian stretch 11-13-2018 build. I have tried installing using both “sudo” and using ”virtulenv”.each way bibliopixel starts to build and fails do to a problem with numpy. Python version in this version of raspbian is 3.5.3 and I have been using pip3 install.

The error is: Importing the mulitarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you’re working with a numpy git repo, try “git clean -xdf (remove all files not under version control). Otherwise reinstall numpy.

I tried uninstalling numpy and then reinstalling numpy and get the same error.

Any help would be appreciated even if it is the recommendation to downgrade to an earlier version of the raspbian build that is verified to work with bibliopixel.

Thank you

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/169e71c6-e6b5-408d-bb33-45929ecf849c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


/t

https://tom.ritchford.com

https://tom.swirly.com


/t

https://tom.ritchford.com

https://tom.swirly.com

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWMY3%3Dr49QLNbeR8GG2jH6queEnwobTW7xEX2EpwgDfkw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

You are correct there is more to that error message I didn’t remember the message in it’s entirety, I didn’t have the error message in front of me there was another reference in it. I am a noob with regards to how to print and copy as well as posting and error to a forum( actually never have done it ) I am at my system right now and trying another install of bibliopixel, as I come across the error I can post it if you are kind enough to walk me through the process, sorry for my lack knowledge. Thank you and Tom for your fast response.
I have the error on the screen in front of me now.

How are you accessing the Pi? SSH or directly with keyboard, mouse, monitor? Basically I need you to copy/paste the text from the terminal into this email.
One thing you can do if you don’t know how to copy from the terminal is pip install bibliopixel > bp.log
Then send us bp.log

···

On Tue, Nov 20, 2018 at 6:00 PM Robert Joyce trirob34@gmail.com wrote:

You are correct there is more to that error message I didn’t remember the message in it’s entirety, I didn’t have the error message in front of me there was another reference in it. I am a noob with regards to how to print and copy as well as posting and error to a forum( actually never have done it ) I am at my system right now and trying another install of bibliopixel, as I come across the error I can post it if you are kind enough to walk me through the process, sorry for my lack knowledge. Thank you and Tom for your fast response.

I have the error on the screen in front of me now.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/e0dee9ce-60a7-4f3d-97f6-1bf636b6fc64%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Ok the strangest thing just happened. I was replying to your response via email. Now I am receiving Tom’s emails to the thread “broken python” and now all of my emails with you have dissappeared. I have a text file of the error but have no email address to send it to.

Just attach it here.

···

On Tue, Nov 20, 2018 at 6:57 PM Robert Joyce trirob34@gmail.com wrote:

Ok the strangest thing just happened. I was replying to your response via email. Now I am receiving Tom’s emails to the thread “broken python” and now all of my emails with you have dissappeared. I have a text file of the error but have no email address to send it to.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/3c94bee9-d9f2-470a-8abe-8363751961ad%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Any luck with this?

Because this happens before any of our code is executed, I’m feeling it’s an issue with your Python installation.

You could consider installing a brand-new version of Python like 3.6 or 3.7 to make sure it’s all clean…!

I’ve been following the instructions for the Bibliopixel Tutorial and haven’t made it past Testing (i.e bp demo matrix). I’m getting an error with Numpy and I think it’s the same one (fix numpy on pi) that you noted below. I’m attaching a file with more details but here’s a shortened version.

From the lengthy Traceback error message:

File “/home/pi/.local/lib/python3.5/site-packages/numpy/core/overrides.py”, line 6, in

from numpy.core._multiarray_umath import (

ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory

My search of the installed files has this - not sure I understand how this is supposed to work:

/home/pi/.local/lib/python3.5/site-packages/numpy/core/_multiarray_umath.cpython-35m-arm-linux-gnueabihf.so

I see that there’s a new version of numpy on scipy.org but I’m not sure yet that I want to try that or the previous version until I get some more clarification about how to fix the bp demo error.

Thanks for your help!

BP Error (5.43 KB)

···

On Tuesday, November 20, 2018 at 5:18:35 PM UTC-5, Adam Haile wrote:

Robert, Can you copy the full output from the pip install bibliopixel command? I feel like we are missing some stuff from your error.
However, I think you might just need this: sudo apt-get install libatlas-base-dev
Then install again. At least I remember I had a problem with numpy on the Pi a while back and I have a note for myself with no context other than “fix numpy on pi” and that command :stuck_out_tongue:
But I’m pretty sure it had to do with some multiarray thing.
At least it’s a place to start

  • Adam

On Tue, Nov 20, 2018 at 5:14 PM Tom Swirly t...@swirly.com wrote:

Sorry about that.

So you get an error installing numpy even into a fresh virtualenv?!

This probably isn’t our error directly - numpy is an extremely common package.

That’s really baffling! I did some research on this, and people suggest it might be that your version of Python that’s broken?

You could try installing Python 3.6 or even 3.7 and try again with that version?

On Tue, Nov 20, 2018 at 11:10 PM Tom Swirly t...@swirly.com wrote:

Ah, so you get this error

On Tue, Nov 20, 2018 at 11:03 PM Robert Joyce trir...@gmail.com wrote:

Hello, I am trying to install bibliopixel running on a raspberry pi 3 model b running raspbian stretch 11-13-2018 build. I have tried installing using both “sudo” and using ”virtulenv”.each way bibliopixel starts to build and fails do to a problem with numpy. Python version in this version of raspbian is 3.5.3 and I have been using pip3 install.

The error is: Importing the mulitarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you’re working with a numpy git repo, try “git clean -xdf (remove all files not under version control). Otherwise reinstall numpy.

I tried uninstalling numpy and then reinstalling numpy and get the same error.

Any help would be appreciated even if it is the recommendation to downgrade to an earlier version of the raspbian build that is verified to work with bibliopixel.

Thank you

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/169e71c6-e6b5-408d-bb33-45929ecf849c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


/t

https://tom.ritchford.com

https://tom.swirly.com


/t

https://tom.ritchford.com

https://tom.swirly.com

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWMY3%3Dr49QLNbeR8GG2jH6queEnwobTW7xEX2EpwgDfkw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

You just need to run this: sudo apt-get install libatlas-base-dev
Then reinstall bibliopixel.

···

On Wed, Feb 20, 2019 at 3:15 PM djmNoobie ddmastrianni@gmail.com wrote:

I’ve been following the instructions for the Bibliopixel Tutorial and haven’t made it past Testing (i.e bp demo matrix). I’m getting an error with Numpy and I think it’s the same one (fix numpy on pi) that you noted below. I’m attaching a file with more details but here’s a shortened version.

From the lengthy Traceback error message:

File “/home/pi/.local/lib/python3.5/site-packages/numpy/core/overrides.py”, line 6, in

from numpy.core._multiarray_umath import (

ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory

My search of the installed files has this - not sure I understand how this is supposed to work:

/home/pi/.local/lib/python3.5/site-packages/numpy/core/_multiarray_umath.cpython-35m-arm-linux-gnueabihf.so

I see that there’s a new version of numpy on scipy.org but I’m not sure yet that I want to try that or the previous version until I get some more clarification about how to fix the bp demo error.

Thanks for your help!

On Tuesday, November 20, 2018 at 5:18:35 PM UTC-5, Adam Haile wrote:

Robert, Can you copy the full output from the pip install bibliopixel command? I feel like we are missing some stuff from your error.
However, I think you might just need this: sudo apt-get install libatlas-base-dev
Then install again. At least I remember I had a problem with numpy on the Pi a while back and I have a note for myself with no context other than “fix numpy on pi” and that command :stuck_out_tongue:
But I’m pretty sure it had to do with some multiarray thing.
At least it’s a place to start

  • Adam

On Tue, Nov 20, 2018 at 5:14 PM Tom Swirly t...@swirly.com wrote:

Sorry about that.

So you get an error installing numpy even into a fresh virtualenv?!

This probably isn’t our error directly - numpy is an extremely common package.

That’s really baffling! I did some research on this, and people suggest it might be that your version of Python that’s broken?

You could try installing Python 3.6 or even 3.7 and try again with that version?

On Tue, Nov 20, 2018 at 11:10 PM Tom Swirly t...@swirly.com wrote:

Ah, so you get this error

On Tue, Nov 20, 2018 at 11:03 PM Robert Joyce trir...@gmail.com wrote:

Hello, I am trying to install bibliopixel running on a raspberry pi 3 model b running raspbian stretch 11-13-2018 build. I have tried installing using both “sudo” and using ”virtulenv”.each way bibliopixel starts to build and fails do to a problem with numpy. Python version in this version of raspbian is 3.5.3 and I have been using pip3 install.

The error is: Importing the mulitarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you’re working with a numpy git repo, try “git clean -xdf (remove all files not under version control). Otherwise reinstall numpy.

I tried uninstalling numpy and then reinstalling numpy and get the same error.

Any help would be appreciated even if it is the recommendation to downgrade to an earlier version of the raspbian build that is verified to work with bibliopixel.

Thank you

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/169e71c6-e6b5-408d-bb33-45929ecf849c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


/t

https://tom.ritchford.com

https://tom.swirly.com


/t

https://tom.ritchford.com

https://tom.swirly.com

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWMY3%3Dr49QLNbeR8GG2jH6queEnwobTW7xEX2EpwgDfkw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/3ba1ec9d-21e8-49f8-9020-de03afd1efed%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.