最近我的 anaconda/python 安装从 linux 中的 worspace01 移动到了 workspace02 分区。我已经手动更改了所有环境变量,但它仍然显示与旧地址存在冲突。我错过了什么地方吗?
[nahiyank@venus]$ spyder
bash: /local/workspace02/nahiyank/anaconda/bin/spyder: /local/workspace01/nahiyank/anaconda/bin/python: bad interpreter
[nahiyank@cc08]$ $PATH
bash: /local/workspace02/nahiyank/anaconda/bin::/local/workspace02/nahiyank/anaconda/bin:/local/workspace02/nahiyank/anaconda/bin:/local/workspace02/nahiyank/anaconda/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/var/cfengine/bin:/home/u13/nahiyank/bin:.: No such file or directory
[nahiyank@cc08]$ cat .bashrc | grep anaconda
export PATH="/local/workspace02/nahiyank/anaconda/bin:$PATH"
但是,我的 python 运行良好,它使用相同的 anaconda 框架
[nahiyank@cc08]$ python
Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
我还尝试直接从 GUI 运行 spyder 可执行文件