python - ImportError: No module named sklearn.preprocessing -
i installed scikit-learn on ubuntu following these instructions.
however, error when run program uses it:
traceback (most recent call last): file "begueradj.py", line 10, in <module> sklearn.preprocessing import normalize importerror: no module named sklearn.preprocessing
how fix this?
the instructions given in tutorial linked obsolete ubuntu 14.04.
the ubuntu 14.04 package named python-sklearn (formerly python-scikits-learn
):
sudo apt-get install python-sklearn
the python-sklearn
package in default repositories in ubuntu 14.04 in other supported ubuntu releases.
Comments
Post a Comment