Hi,
I'm trying to permit to work to a app that I found on youtube that is an example of python for lazarus:
https://www.youtube.com/watch?v=WREEoECCMy0In general it work, with simply python command, but if I try to run a python example of matplotlib with lazarus app it give me an error.
If I run the same python code with Idle or Thonny it work fine. The lazarus give me this error:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
ImportError:
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.htmlPlease note and check the following:
* The Python version is: Python3.8 from "/usr/bin/python3"
* The NumPy version is: "1.23.0"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: /home/fabio/.local/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyObject_SelfIter
.
Press OK to ignore and risk data corruption.
Press Abort to kill the program
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Can you help me to understand what is the problem?
I run with lazarus 2.2.2 on Linux Mint.
BR