1
votes

I am using the package plotnine to make ggplot's. In this context I wanted to use "loess". The package gives an error and says: "For loess smoothing, install 'scikit-misc'". I installed it but I still receive this error. It seems that the following statement does not work:

from skmisc.loess import loess

It says then "DLL load failed while importing _loess: Das angegebene Modul wurde nicht gefunden." So that the module is not found. From other answers it was suggested that I should install numpy and mkl. I did both, still without any success.

Could you please help me what I can do to use "loess" method?

Thank v much!

1

1 Answers

0
votes

Are you try this?

!pip install git+https://github.com/has2k1/plotnine.git
!pip install scikit-misc
from skmisc.loess import loess