Why I Cannot Import Linear Model Form Scikit-learn 0.16.1?
I have just update my sklearn to version 0.16.1. As a result, if I try to import: from sklearn import linear_model I get the following error message: Traceback (most recent call l
Solution 1:
The problem has been resolved by the following steps:
- Uninstalling scikit-learn.
- Manually delete
sklearn
directory in the/usr/local/lib/python2.7/dist-packages/
directory. pip install
the newest version of the scikit-learn.
However, I got another problem by doing that (Illegal instruction (core dumped)
). More details can be found here.
Post a Comment for "Why I Cannot Import Linear Model Form Scikit-learn 0.16.1?"