Django错误pipeline.exceptions.CompilerError:[WinError 2]系统找不到指定的文件

时间:2018-10-27 14:53:56

标签: python django

每当我运行命令python manage.py collectstatic时,都会收到错误消息:

File "C:\ProgramData\Anaconda3\envs\doors\lib\site-packages\pipeline\compilers\__init__.py", line 146, in execute_command
    error_output=text_type(e))
pipeline.exceptions.CompilerError: [WinError 2] The system cannot find the file specified

Stack trace here.

1 个答案:

答案 0 :(得分:0)

发生此错误是因为找不到PIPELINE配置中列出的某些文件进行编译。

检查库。 https://django-pipeline.readthedocs.io/en/latest/configuration.html