2017-04-16 73 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