skpro
skpro copied to clipboard
problem in loading the skpro
It has been 2 days that I am trying to import skpro. But I can not I keep getting this error:
cannot import name 'six' from 'sklearn.externals' (C:\Users\My Book\anaconda3\lib\site-packages\sklearn\externals_init_.py)
Hi @honestee, sorry to hear that you've encountered issues. As a workaround you should be able to do something like this:
import six
import sys
sys.modules['sklearn.externals.six'] = six
import skpro
The real solution would be to change this import to just import six
and generally update the dependencies of the project (note that it hasn't been actively maintained for a while so a lot of dependencies have gone stale).
Would you be interested in upgrading the package and sending a pull request?