詳細參考:https://blog.csdn.net/weixin_42782150/article/details/102921697
pip3 install --user jupyter
安裝失敗,提示:
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
解決:
python3 -m pip install --user jupyter
(這里是pip,安裝其他python庫均使用pip3)
打開jupyter
python3 -m IPython notebook
另外,由於是Big sur系統,使用brew install Jupyter安裝也會失敗,暫時不知道解決辦法,所以只能pip安裝。
升級pip3:
pip3 install --user --upgrade pip