运行以下代码时出现以下错误:
name: myapp-env dependencies: - python=3.5 - pip - django=1.8 - pip: - django-environ=0.4
错误:
yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot start any token in "", line 7, column 1: - django-environ=0.4
将.yml文件格式化为pip安装包的正确方法是什么?
它在那里非常明确:YAML(在pyyaml中实现)禁止使用制表符来缩进.将该行更改为
.