How to import numpy package into my plugin?

Hi

Yes, numpy library is not provided with Krita

What you’ve made is not clear, and “plugin didn’t work” is not really helpful
You should provide more information.

You’re on windows, there’s extra step to do

  • Did you installed Python3 on windows?
  • Did you installed pip on your Python3 installation?
  • Did you made a copy/paste of site-package directory (from Python3 installation) to krita’s python directory?

If yes, then, you have to execute this code from Krita’s scripter:

Did it returned errors?
If yes, please provide errors message

Grum999

1 Like