2017-04-16 81 views
1

我不能安装django压缩机django店。这是一个这样的错误。django压缩机不与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/ 
------------------------------------------------------------------------ 

回答

1

运行这些命令解决了我的问题:

pip install rcssmin --install-option="--without-c-extensions" 
pip install rjsmin --install-option="--without-c-extensions" 
pip install django-compressor --upgrade