Djangompressure未与Djangoshop一起安装

2024-05-15 09:44:15 发布

您现在位置:Python中文网/ 问答频道 /正文

我不能在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/
------------------------------------------------------------------------

Tags: installpipdjangohomeforcoderecordtmp
1条回答
网友
1楼 · 发布于 2024-05-15 09:44:15

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

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

相关问题 更多 >