修改了 .zprofile文件 中python路径
# Setting PATH for Python 3.10
# The original version is saved in .zprofile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.10/bin:${PATH}"
export PATH
export PATH="/usr/local/opt/python@3.10/bin:$PATH"
alias python="/Library/Frameworks/Python.framework/Versions/3.10/bin/python3"
alias pip="/Library/Frameworks/Python.framework/Versions/3.10/bin/pip3.10”
运行 source .zprofile 后报错
.zprofile:11: unmatched "
zsh 中python版本已经变为3.10.1 但无法直接打开.py文件
希望能够找到错误的原因。或者提供原有.zprofile文件代码