I have python versions 3.6.5_1 and 3.7.0installed via Homebrew.
jupyter needs python3.6 for launching. It wouldn't start if I switch to python3.7.
After launching, it fails to start the kernel with this error:
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1344, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/opt/python/bin/python3.7': '/usr/local/opt/python/bin/python3.7' From what I understand, the kernel is looking for python3.7. My kernel list has just python3
$jupyter kernelspec list Available kernels: python3 /usr/local/etc/jupyter/kernels/python3 I looked at this link on github, but it wasn't helpful. How do I make jupyter and the kernel running on the same python version?
python3.7 -m ipykernel install. Are you sure that all your python3 are install with homebrew ?help("modules")in python 3.7 consolepip3 install jupyterto install it. (You need to usepipof python 3.7)