-
Notifications
You must be signed in to change notification settings - Fork 154
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
How to install the PythonWrapper on Raspberry PI after compiling the libCMSISDSP.a library? #232
Comments
@PhilWareFenTech I hope at some point to find the time to deliver a binary version for Raspberry and that uses the Neon optimizations. At the root (CMSIS-DSP folder where you can see the
You should now have a |
Thanks for your quick help. There seems to be a lot of things wrong though. So I'm using numpy-2.2 I've tried to pip install numpy-1.25, but it fails the same. It feels like I've broken something...
|
I've cleaned, re-created the PythonWrapper and made the lib.a file again, and run Although I've checked my numpy install version (1.25), and it checks in the setup.py script that it is 1.25, when the preprocessor runs on the cmsisdsp_module.h file, NPY_API_VERSION is still reporting 0x13 - which is v2.2
|
I have not rebuilt this wrapper for a long time and it looks like there is a new problem unrelated to NumPy. A commit has removed some functions from CMSIS-DSP that had been deprecated for a few years (like DCT4). But the Python wrapper has not yet been updated and it looks like it still refers to those function. As consequence it cannot be built. |
For NumPy "problem", I suggest you create a virtualenv. Install manually the v2.2 version. Build the package from this. After, the resulting wheel should also work with older Numpy versions. |
Hi,
Trying to install CMSISDSP with pip install fails on my Raspberry PI 3, so thought I'd compile it myself.
I've run CMake and make and it generated the bin_dsp/libCMSISDSP.a library.
How do I create the python module I can then install to my python3 system?
Thanks,
Phil.
The text was updated successfully, but these errors were encountered: