我不能用django-shop来安装django-空压机。它会给出一个这样的错误。
Failed building wheel for rcssmin
=================================
Failed building wheel for rjsmin
------------------------------------------------------------------
Command "/home/raisul/Django/Django-Shop/virenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_3410eu4/rcssmin/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-kau2lsqm-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/raisul/Django/Django-Shop/virenv/include/site/python3.5/rcssmin" failed with error code 1 in /tmp/pip-build-_3410eu4/rcssmin/
------------------------------------------------------------------------发布于 2017-08-13 08:38:28
运行这些命令为我解决了这个问题:
pip install rcssmin --install-option="--without-c-extensions"
pip install rjsmin --install-option="--without-c-extensions"
pip install django-compressor --upgradehttps://stackoverflow.com/questions/43440655
复制相似问题