Installation 如何将jupyter脚本添加到路径

Installation 如何将jupyter脚本添加到路径,installation,path,jupyter-notebook,Installation,Path,Jupyter Notebook,我一直在努力添加路径 安装jupyter笔记本后,它会发出警告 The scripts jupyter, jupyter-migrate and jupyter-troubleshoot are installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this

我一直在努力添加路径

安装jupyter笔记本后,它会发出警告

The scripts jupyter, jupyter-migrate and jupyter-troubleshoot are installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts jupyter-kernel, jupyter-kernelspec and jupyter-run are installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script jsonschema is installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script jupyter-trust is installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script pygmentize is installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script jupyter-nbconvert is installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts iptest, iptest3, ipython and ipython3 are installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The scripts jupyter-bundlerextension, jupyter-nbextension, jupyter-notebook and jupyter-serverextension are installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script jupyter-console is installed in '/Users/gangzhao/Library/Python/3.7/bin' which is not on PATH. 
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
我发现了一个关于将目录添加到PYTHONPATH的好方法

但我还是不明白

export PYTHONPATH="${PYTHONPATH}:/my/other/path"

我混淆了什么是
PYTHONPATH
和什么是
/my/other/path

也许您应该在安装Anaconda时尝试使用内置的jupyter笔记本。当我通过Anaconda安装Jupyter时,我从来没有遇到过这种问题。

也许你应该在安装Anaconda时尝试使用内置的Jupyter笔记本。当我通过Anaconda安装Jupyter时,我从未遇到过这种问题。

这当然是避免问题的一种方法。但我宁愿修复它。这当然是避免问题的一种方法。但我更愿意修复它。