I have an ipython notebook which starts with
import sklearn
When I run it, I get :
ImportError: No module named sklearn
Is it possible that /usr/bin/python is actually a symlink?
The better solution is that you should be running your ipython notebook from a virtualenv that contains all the modules that you need.