Unable to import libraries like librosa on PYNQ-Z2 board

ModuleNotFoundError: No module named ‘librosa’
This is the error I am getting

Did you try to install it?

Cathal

How to install python library while implementing on PYNQ-Z2 boarrd

The PYNQ-Z2 PYNQ image runs on a Ubuntu based OS. You can “pip install”. PYNQ works with Python 3. For the 2.7 image, Python 3 should be default so pip install should work.
for older images Python 2 was the default, but Python 3 was also installed. You need to run “pip3 install” to install the package for python 3.

Cathal