I stumbled when I tried to install django-compressor on Windows, so make a note of the contents
pip install django-compressor
If you simply install it like this, you will get the following error in rjsmin and rcssmin
Failed building wheel for rjsmin
~~~Omission~~~
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
It seems that you should download VC ++ 14.0, but when you download it, you get the same error.
https://github.com/spz-signup/spz-signup/issues/17 Sorry for the round copy from here
pip install rjsmin --install-option="--without-c-extensions"
pip install rcssmin --install-option="--without-c-extensions"
pip install django-compressor
This worked for the time being. I don't think it's good to ignore c-extensions, but let's give it up
Recommended Posts