如何解决如何修复安装 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 举报,一经查实,本站将立刻删除。