微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何修复安装 libsass 0.17.0?

如何解决如何修复安装 libsass 0.17.0?

我想安装 libsass==0.17.0。我得到了错误。这是错误日志:

Collecting libsass==0.17.0
  Using cached libsass-0.17.0.tar.gz (310 kB)
Requirement already satisfied: six in c:\users\admin\desktop\odoo-13.0\venv\lib\site-packages (from libsass==0.17.0) (1.16.0)
Using legacy 'setup.py install' for libsass,since package 'wheel' is not installed.
Installing collected packages: libsass
    Running setup.py install for libsass: started
    Running setup.py install for libsass: finished with status 'error'

    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Admin\Desktop\odoo-13.0\venv\Scripts\python.exe' -u -c 'import io,os,sys,setuptools,tokenize; sys.argv[0] = '"'"'C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\pip-install-5goofp17\\libsass_d5af05c43e244f4185287a9f3559cecd\\setup.py'"'"'; __file__='"'"'C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\pip-install-5goofp17\\libsass_d5af05c43e244f4185287a9f3559cecd\\setup.py'"'"';f = getattr(tokenize,'"'"'open'"'"',open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record-cyhtq4fq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Admin\Desktop\odoo-13.0\venv\include\site\python3.8\libsass'
         cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-5goofp17\libsass_d5af05c43e244f4185287a9f3559cecd\
    Complete output (21 lines):
    You probably need Visual Studio 2015 (14.0) or higher
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.8
    copying pysassc.py -> build\lib.win32-3.8
    copying sass.py -> build\lib.win32-3.8
    copying sassc.py -> build\lib.win32-3.8
    copying sasstests.py -> build\lib.win32-3.8
    creating build\lib.win32-3.8\sassutils
    copying sassutils\builder.py -> build\lib.win32-3.8\sassutils
    copying sassutils\distutils.py -> build\lib.win32-3.8\sassutils
    copying sassutils\wsgi.py -> build\lib.win32-3.8\sassutils
    copying sassutils\_compat.py -> build\lib.win32-3.8\sassutils
    copying sassutils\__init__.py -> build\lib.win32-3.8\sassutils
    warning: build_py: byte-compiling is disabled,skipping.
    
    running build_ext
    building '_sass' extension
    error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Admin\Desktop\odoo-13.0\venv\Scripts\python.exe' -u -c 'import io,'"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record-cyhtq4fq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Admin\Desktop\odoo-13.0\venv\include\site\python3.8\libsass' Check the logs for full command output.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?