pyfilterbank icon indicating copy to clipboard operation
pyfilterbank copied to clipboard

Error when installing in Raspberry pi 3 + B sosfilt.so: wrong ELF class: ELFCLASS 64

Open mediagp opened this issue 5 years ago • 1 comments

After the following steps in python 2.7.9:

  • download and unzip the package
  • python install pyfilterbank
  • add from pyfilterbank import FractionalOctaveFilterBank When running the python file I get an error related with: sosfilt.so: wrong ELF class: ELFCLASS 64

image

Thanks.

mediagp avatar May 12 '19 12:05 mediagp

pyfilterbank is developed with python 3, so there is no guarantee for it working with python 2. Following steps should solve your problem:

  1. use python 3
  2. compile the c source on you raspberry pi, otherwise a x86 library is tried to be run on an arm processor.

SiggiGue avatar May 13 '19 10:05 SiggiGue