我正在尝试miniconda在 ubuntu 12.04 上安装Python 2.7。我已经写了这个:
if ! [ -f ~/.bash_profile ]; then touch ~/.bash_profile; fi
if ! [ -f ~/.bashrc ]; then touch ~/.bashrc; fi
if ! grep -q "source ~/.bashrc" ~/.bash_profile; then echo 'if [ -f ~/.bashrc ]; then source ~/.bashrc; fi' >> ~/.bash_profile; fi
Run Code Online (Sandbox Code Playgroud)
然后我使用:
bash Miniconda-*.sh
Run Code Online (Sandbox Code Playgroud)
但一个过程开始并永无止境。我不知道如何解决这个问题。
python ×1