我在Atom上安装了Python的氢内核,使用
python -m pip install ipykernel
python -m ipykernel install --user在这样做之后,我得到了以下消息
WARNING: The script pygmentize is installed in '/Library/Frameworks/Python.framewo
rk/Versions/3.9/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.
WARNING: The scripts jupyter, jupyter-migrate and jupyter-troubleshoot are install
ed in '/Library/Frameworks/Python.framework/Versions/3.9/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.
WARNING: The scripts jupyter-kernel, jupyter-kernelspec and jupyter-run are instal
led in '/Library/Frameworks/Python.framework/Versions/3.9/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.
WARNING: The scripts iptest, iptest3, ipython and ipython3 are installed in '/Libr
ary/Frameworks/Python.framework/Versions/3.9/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.
WARNING: The scripts pip, pip3 and pip3.9 are installed in '/Library/Frameworks/Py
thon.framework/Versions/3.9/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.如何解决此问题以避免将来出现问题?
发布于 2021-09-27 15:18:57
将以下行添加到.zprofile或.zshenv文件中:
PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin:$PATHhttps://stackoverflow.com/questions/69348641
复制相似问题