我安装了 EPD Free 7.3.2,它运行良好,直到我想修改 PATH 以指向我的 Python 脚本所在的位置。我放弃了,恢复到原来的 .bash_profile 文件。
# Setting PATH for EPD_free-7.3-2
# The orginal version is saved in .bash_profile.pysave
PATH = "/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH
启动终端时,我得到这个:
Last login: Thu Jan 3 08:50:20 on ttys000
-bash: PATH: command not found
但是,我能够运行 iPython 和 EPD 附带的所有库,没有问题。任何人都知道“PATH:找不到命令”的问题是什么?