A way of installing many python packages, amongst which scikit-learn, without needing root priviledges is to install it locally
python setup.py install --user
which will write information to ~/.local
.
A second option is
python setup.py develop
which will compile in place and place a symbolic link in /Users/*****/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/
. You may have to sudo
and you may have to delete the old sklearn
.
A third, more explicit way of doing this is to place the symbolic link yourself, which will require surgical, but very localized use of sudo
for placing the link and removing the old scikit learn.
Assuming you cloned into ~/scikit-learn/
cd ~/scikit-learn
make in
cd /Users/*****/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/
sudo mv sklearn sklearn_
sudo ln -s ~/scikit-learn/sklearn sklearn
More detailed information on the website about installing in general and installing the bleeding edge