每当我运行命令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
答案 0 :(得分:0)
发生此错误是因为找不到PIPELINE配置中列出的某些文件进行编译。
检查库。 https://django-pipeline.readthedocs.io/en/latest/configuration.html