我正在尝试执行一个.bat
文件以在conda
中创建环境,并且正在使用以下脚本:
set HTTPS_Proxy=<some_value> #will be setting some value
set HTTPS_Proxy=<some_vale> #will be setting some value
conda create -n SATENV python=3.6
activate SATENV
set HTTPS_Proxy=<some_value> #will be setting some value
set HTTPS_Proxy=<some_vale> #will be setting some value
pip install -r requirements.txt
python -m spacy download en
python -m nltk.downloader stopwords
conda deactivate
python -m ipykernel install --user --name SATENV --display-name "SATENV"
在第三行conda create -n SATENV python=3.6
中,批处理脚本期望用户输入(是或否)以继续安装新软件包,并且在用户响应后,第三行执行,并且批处理文件停止执行其他行。任何线索都将非常有帮助。
谢谢。