压缩和缩小文件在base.html文件i';我正在使用django和python。操作系统:Windows 8.1

压缩和缩小文件在base.html文件i';我正在使用django和python。操作系统:Windows 8.1,python,css,django,sass,Python,Css,Django,Sass,我正在windows 8.1下开发基于django的应用程序。激活虚拟环境后,我将安装以下软件包: Django==3.0.8 libsass==0.20.0 django libsass==0.8 ... 我严格遵循对setting.py的修改,但没有任何效果。 我可能对sass包的路径有问题: my base.html模板: <!DOCTYPE html> {% load static %} {% load compress %} {% load thumbnail %}

我正在windows 8.1下开发基于django的应用程序。激活虚拟环境后,我将安装以下软件包:

  • Django==3.0.8
  • libsass==0.20.0
  • django libsass==0.8 ... 我严格遵循对setting.py的修改,但没有任何效果。 我可能对sass包的路径有问题:
my base.html模板:

<!DOCTYPE html>
{% load static %}
{% load compress %}
{% load thumbnail %}
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{APPLICATION_NAME}}</title>
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700" rel="stylesheet">
<link rel="stylesheet" 
href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap- 
datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" />`
{% compress css %}
<link href="{% static 'css/main.scss' %}" type="text/x-scss" rel="stylesheet">
<link href="{% static 'css/mention.scss' %}" type="text/x-scss" rel="stylesheet">
{% endcompress %}

{%load static%}
{%load compress%}
{%加载缩略图%}
{{应用程序名称}
`
{%css%}
{%endcompress%}
当我运行python manage.py runserver并访问时,我得到了阻塞错误: 在处理上述异常(没有名为“sass{infle}{outfile}”的模块)期间,发生了另一个异常: 及以上: 在模板E:\Developpement\Langages\python\django\crm\templates\base.html中呈现模板时出错,第16行出错({%compress css%})

谢谢你解除我的封锁