问题描述
运行conda env create -f environment.yml
报错:
could not find expected ':'
ruamel_yaml.scanner.ScannerError: while scanning a simple key
in "<unicode string>", line 143, column 5:
-i https://pypi.tuna.tsinghua.ed ...
^ (line: 143)
could not find expected ':'
in "<unicode string>", line 144, column 1:
# prefix: D:\Program\Anaconda3\e ...
^ (line: 144)
解决方案
yml配置文件遇到“:”或者“-”后面必须留一个空格!