Also on (K)Ubuntu desktop. If you installed Gimp from a .deb, then it uses the standard Python runtime from your desktop and a general pip install numpy (system level with sudo or user level) should work. If you installed a snap or a flatpak, then you may have to install numpy for your specific Python runtime (assuming one has been packaged).
Starting Gimp in a terminal makes all the error output appear in the terminal. Very helpful to figure out what went wrong.
Don't forget to make the Python script executable...
Starting Gimp in a terminal makes all the error output appear in the terminal. Very helpful to figure out what went wrong.
Don't forget to make the Python script executable...