Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

django-compressor is not install with django-shop

Tags:

python

django

I cann't install django-compressor with django-shop. It's give an error like this.

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/
------------------------------------------------------------------------
like image 755
Raisul Islam Avatar asked Dec 06 '22 14:12

Raisul Islam


1 Answers

Running these commands solved the problem for me:

pip install rcssmin --install-option="--without-c-extensions"
pip install rjsmin --install-option="--without-c-extensions"
pip install django-compressor --upgrade
like image 96
MadPhysicist Avatar answered Dec 19 '22 00:12

MadPhysicist