python – Problem running Pandas on a Raspberry pi 2

when I try to run a simple code that only prints a Excel file, I always get this error message. Tried reinstall pandas using not only the command ‘sudo pip3 install pandas’, but also ‘sudo apt-get install python3-pandas’. Seems like Python does not recognize the imported module
Follow the error:

Traceback (most recent call last):
File “/home/etesp/catraca/teste.py”, line 1, in
import pandas
File “/home/etesp/.local/lib/python3.9/site-packages/pandas/init.py”, line 16, in
raise ImportError(
ImportError: Unable to import required dependencies:
numpy:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  • The Python version is: Python3.9 from “/usr/bin/python”
  • The NumPy version is: “1.24.2”

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: libcblas.so.3: cannot open shared object file: No such file or directory

When I try to run I get this error. I expect to read and print the Excel file. It is the first time i’m using Raspberry and the files directory is different than the windows one. Don’t know if that’s the problem.

Read more here: Source link