我在Windows上安装了Miniconda2,并且正在使用Cygwin。我找到了Miniconda2/Scripts文件夹,该文件夹具有conda.exe,并且能够成功地使用conda install包。
但是,在遵循this post并使用export将路径重定向到Python.exe (which python确实给出了正确的Python.exe)之后,我甚至不能再运行Python了。它只是挂着。
但是,如果我使用找到该文件,只需双击Python.exe文件,它就会运行Python并成功地找到导入的包。有什么好主意吗?
发布于 2017-07-12 21:38:08
为了让Miniconda2在.profile中工作,我在.profile中添加了以下内容
export PATH="~/Miniconda2/Scripts:$PATH"
export PATH="~/Miniconda2/:$PATH"最后,我在.bashrc中添加了以下别名
alias python="python -i"https://stackoverflow.com/questions/45024311
复制相似问题