我试试这个:
wget -q http://repo.continuum.io/archive/Anaconda2-4.0.0-Linux-x86_64.sh -P /tmp
bash Anaconda2-4.0.0-Linux-x86_64.sh
conda create --name py27conda2_3_0 python=2.7 anaconda=2.3.0
source activate py27conda2_3_0
终端显示此无穷无尽,我不在终端输入:
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
==> default: >>> Please answer 'yes' or 'no':
我不知道如何处理它。请帮忙。
答案 0 :(得分:0)
我不完全确定您需要在脚本的哪一步回答问题,但是在提示时您可以执行以下操作
yes | source activate py27conda2_3_0