Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy 1.14.3 can't open libf77blas.so.3 on Raspberry Pi Zero W (arm6) #11110

Closed
s7711 opened this issue May 17, 2018 · 9 comments
Closed

numpy 1.14.3 can't open libf77blas.so.3 on Raspberry Pi Zero W (arm6) #11110

s7711 opened this issue May 17, 2018 · 9 comments
Labels
53 - Invalid 57 - Close? Issues which may be closable unless discussion continued component: build

Comments

@s7711
Copy link

s7711 commented May 17, 2018

I'm using a Raspberry Pi Zero W and I am running Raspian Stretch Lite, released 2018-04-18, with update and dist-upgrade (on 17 May 2018). In python3 I've tried:

pip3 install numpy
which installed 1.14.3. When I import numpy in python3 it reports that it cannot file "libf77blas.so.3". numpy 1.12.1 works.

Didn't find any other comments on this, sorry if it is a duplicate.

@charris
Copy link
Member

charris commented May 17, 2018

Where are you getting numpy in both the 1.14.3 and 1.12.1 cases?

@s7711
Copy link
Author

s7711 commented May 18, 2018

Thanks for commenting! Good question, took me quite a while to figure it out... Looks like they are installed from:

https://www.piwheels.org/simple/numpy/numpy-1.12.1-cp35-cp35m-linux_armv6l.whl
https://www.piwheels.org/simple/numpy/numpy-1.14.3-cp35-cp35m-linux_armv6l.whl

Here are the logs from the pip3 install, in case I have interpreted the logs incorrectly:

numpy-1.12.1.txt
numpy-1.14.3.txt

These were generated in a new, clean virtual environment. I installed 1.12.1 first using:

pip3 install numpy==1.12.1 -v --log numpy-1.12.1.txt

That imports correctly into python3. Then I ran:

pip3 install numpy==1.14.3 -v --log numpy-1.14.3.txt

which has error:

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

@pv
Copy link
Member

pv commented May 18, 2018 via email

@s7711
Copy link
Author

s7711 commented May 18, 2018

Thanks for getting back to me and sorry for troubling you. I'll see if I can alert them to the problem.

@mattip mattip added 57 - Close? Issues which may be closable unless discussion continued component: build 53 - Invalid labels May 24, 2018
@hemangjoshi37a
Copy link

Chances are you are missing a dependency

sudo apt-get install libatlas-base-dev

Give that a shot and then run it again.

@mattip
Copy link
Member

mattip commented Jan 16, 2019

Closing. This is a downstream packaging issue, perhaps specific to @s7711

@mattip mattip closed this as completed Jan 16, 2019
@LIII-XXII
Copy link

To other people getting this issue on raspi zero w: a solution is to install numpy via apt:

pip3 uninstall numpy #remove previously installed package
apt install python3-numpy

@industriousonesoft
Copy link

Chances are you are missing a dependency

sudo apt-get install libatlas-base-dev

Give that a shot and then run it again.

Thx, you saved my day!

@theeggdev
Copy link

Chances are you are missing a dependency

sudo apt-get install libatlas-base-dev

Give that a shot and then run it again.

it works for me too!
I am using raspberry pi 3.

@numpy numpy locked as resolved and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
53 - Invalid 57 - Close? Issues which may be closable unless discussion continued component: build
Projects
None yet
Development

No branches or pull requests

8 participants