当前位置:  开发笔记 > 编程语言 > 正文

为什么我不能为libsass构建轮子,即使它会安装?

如何解决《为什么我不能为libsass构建轮子,即使它会安装?》经验,为你挑选了1个好方法。



1> Carl..:

问题是wheel <0.25.0与Python 3.5和pip二进制分发不兼容.

这是关于它的问题跟踪器:https://bitbucket.org/pypa/wheel/issues/146/wheel-building-fails-on-cpython-350b3

一个棘手的问题是在安装任何其他东西之前需要升级滚轮,所以你不能只在你的requirements.txt中说滚轮==.

(libsass_test)$ pip install --upgrade wheel
Collecting wheel
  Using cached wheel-0.26.0-py2.py3-none-any.whl
Installing collected packages: wheel
  Found existing installation: wheel 0.24.0
    Uninstalling wheel-0.24.0:
      Successfully uninstalled wheel-0.24.0
Successfully installed wheel-0.26.0
(libsass_test)$ pip install libsass
Collecting libsass
  Using cached libsass-0.9.3.tar.gz
Requirement already satisfied (use --upgrade to upgrade): six in ./lib/python3.5/site-packages (from libsass)
Building wheels for collected packages: libsass
  Running setup.py bdist_wheel for libsass
  Stored in directory: /home/cjohnson/.cache/pip/wheels/23/fa/f8/ff89658d6dd1abcd7bc6791f856bb36cc6e578a707f6b41d67
Successfully built libsass
Installing collected packages: libsass
Successfully installed libsass-0.9.3

推荐阅读
k78283381
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有