【发布时间】:2016-01-04 23:07:33
【问题描述】:
所以我已将 anaconda 安装到我有权限的目录中,但我无法获得 sublime text 3 来识别 shell 现在正在使用 anaconda python:
>which python
/local/home/USER/Apps/anaconda/bin/python
当我使用从同一个 shell 启动的 sublime 构建时:
import astropy
print astropy.__file__
它给出了一个不同的目录:/soft/python-SL7/lib/python2.7/site-packages/astropy/init.pyc
我的 .tcshrc 文件内容如下:
setenv PATH /local/home/USER/Apps/anaconda/bin:${PATH}
alias subl /local/home/USER/Apps/sublime_text_3/sublime_text
我的 .bashrc(不是应该使用它)内容如下:
export PATH="/local/home/sread/Apps/anaconda/bin:$PATH"
有什么想法吗?
【问题讨论】:
标签: python linux sublimetext3