"_Remove_dead_weakref" error when updating scikit-learn on Win10 machine

I am new to open source so appreciate any / any help. I have block 4.2.3 for desktops working: Python 3.5.2 | Anaconda 4.2.0 (64-bit) on my windows10 computer. When trying to update scikit-learn from 0.17 to 0.18, I get below error, which I think indicates that one of the dependency files is out of date. I can't figure out how or why as I just (<1 month ago) installed Python via anaconda. Note. I get the same error when I try to conda update scikit-learn conda install scikit-learn = 0.18 pip install -U scikit-learn

ImportError: Unable to import name '_remove_dead_weakref'

How to fix it? Should I try to uninstall and reinstall? If so, what's the safe (which means cleanly removing all bits) way to do it? Thanks in advance.

I am trying to upgrade to 0.18. I'm runing

+3


source to share


1 answer


After spending a couple of hours to no avail, delete the anaconda python folder and reinstall. You've got the last bits and solved the problem :)



+2


source







All Articles