Installing SKlearn for python



Brand new noob and trying to install the sklearn package for python on Cloud9. Tried installing it using pip but it returned the following message …

 running install_lib

 creating /usr/local/lib/python2.7/dist-packages/sklearn

 error: could not create '/usr/local/lib/python2.7/dist-packages/sklearn': Permission denied

Just hoping someone can point me in the right direction in how I can install the package / tell me if it’s even possible using Cloud9.



Answer: Really simple …

 sudo pip install -U scikit-learn