Zsh: command not found: jupyter #317
Comments
So I found a workaround. Installed Now,
Problem fixed but still questions hover!
I don't want it to use system
but if you use
Also minor hiccups: If I do:
If I use
Weird. |
The bit you're looking at depends on the Python installation that it's running on. It looks like Homebrew has installed Jupyter on Python 2.7. I don't know if there's a way to tell Homebrew which Python to use, but the canonical way is to install it with pip: |
It's strange The canonical way (as I mention in the first post of this thread )
……and still I get:
|
Try uninstalling Jupyter with every tool that might have installed it, and then installing again using pip. If some files have been removed or overwritten, pip won't necessarily notice that it should rewrite them. |
I finally fixed this by,
That's it!
Everything is fine now. Thanks! @takluyver |
I had installed via the Anaconda installation. Anaconda will modify the $PATH at the end of |
I'm having a similar problem. Couldn't get |
@chennakeshava1998 solution works and seems to be the best. |
If you installed Jupyter via the Anaconda graphical installer, Anaconda writes the following into your # added by Anaconda3 5.3.0 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then
. "/anaconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<< Just copy and paste that to the end of |
After the
python@2
rename by homebrew,jupyter
(and alsojupyter lab
) doesn't work.I have done
brew upgrade
, installed and reinstalledpython3
andpython2
several times, created symlinks but stilljupyter
,jupyterlab
don't work after the rename and migrations.I use
pip3
to installjupyter
, not Anaconda.Also, this is my
$PATH
:More details:
Note:
This works.
The text was updated successfully, but these errors were encountered: