Hi I\'ve installed python 2.7 but did not remove 2.6. i\'ve added 2.7 to the path and also as an alias but it seems like when I do jupyter notebook it tries to access 2.6
It looks like you installed jupyter as an extension of /usr/lib/python2.6
. If so, you'd have to uninstall jupyter and reinstall into your desired python.
It could be a problem in your python kernel.json configuration. For example my python kernel is located at:
/usr/local/share/jupyter/kernels/python/kernel.json
and contains:
{
"language": "python",
"display_name": "Python 2.7",
"argv": [
"/usr/local/bin/python2.7",
"-m",
"ipykernel",
"-f",
"{connection_file}"
]
}
Make sure that the path in argv section points to correct version of python.