Page 1 of 1

Python package install

Posted: Fri Jul 09, 2021 10:33 am
by somn
I am running a lock-in amplifier code on my FPGA. I have collected the source code from GitHub and tried running it on my stem lab board. It shows import error, import NumPy as np. Which python package I need to install on my board and how to do it?

Re: Python package install

Posted: Fri Jul 09, 2021 10:55 am
by Redmarin
You need to install numpy :

open a terminal, connect yourself to the red pitaya via SSH : https://redpitaya.readthedocs.io/en/lat ... hlight=SSH

try this code :

sudo apt install python3-pip
sudo pip3 install numpy


Help can be found here : https://phoenixnap.com/kb/install-numpy

Don't forget to read documentation about Red pitaya!
https://redpitaya.readthedocs.io/en/latest/

Have a nice experiment with Red Pitaya ! :D