[PYTHON] How to deploy django-compressor on Windows

I stumbled when I tried to install django-compressor on Windows, so make a note of the contents

Where you stumbled

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.

Countermeasures

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

How to deploy django-compressor on Windows
How to use Dataiku on Windows
How to install pycrypto on Windows
How to install music 21 on windows
[Kivy] How to install Kivy on Windows [Python]
How to use Google Assistant on Windows 10
How to install richzhang / colorization on Windows 10
How to quickly install h5py on Windows 10 [Unofficial]
How to live a decent life on 2017 Windows
[Python] How to install OpenCV on Anaconda [Windows]
How to install / verify graphviz on anaconda / windows10
How to install Python [Windows]
How to register on pypi
How to embed mod_wsgi into Apache on Python Windows
How to run Django on IIS on a Windows server
How to operate Firefox with selenium on Windows Memo
How to install mysql-connector-python on mac
How to use VS Code in venv environment on windows
Notes on how to use pywinauto
How to install graph-tool on macOS
How to install VMware-Tools on Linux
Notes on how to use featuretools
How to deploy the easiest python textbook pybot on Heroku
How to mount a Windows 10 directory on Ubuntu-Server 20.04 on VMware Workstation 15
How to install OpenCV on Mac
How to run matplotlib on heroku
How to install PyPy on CentOS
How to use homebrew on Debian
Misunderstanding on how to connect cnn
How to install TensorFlow on CentOS 7
Notes on how to use doctest
How to install Maven on CentOS
Notes on how to write requirements.txt
How to install Go on Ubuntu
How to deploy a Django app on heroku in just 5 minutes
How to deploy a web application on Alibaba Cloud as a freelancer
How to install aws-session-manager-plugin on Manajro Linux
How to read pydoc on python interpreter
How to install drobertadams / toggl-cli on Mac
How to update to Chainer 2.0 (Windows + CUDA 8.0 + CUDNN)
How to use mecab, neologd-ipadic on colab
How to build Hello, World on #Nix
How to use Cmder with PyCharm (Windows)
How to update php on Amazon linux 2
How to erase Python 2.x on Mac.
How to display emoji on Manjaro Linux
Memorandum on how to use gremlin python
How to install packages on Alpine Linux
How to install Anisble on Amazon Linux 2
How to switch mouse operations on CentOS
How to install Windows Subsystem For Linux
How to update security on CentOS Linux 8
How to install Apache (httpd) on CentOS7
How to install php7.4 on Linux (Ubuntu)
How to make multi-boot USB (Windows 10 compatible)
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
How to test on a Django-authenticated page
How to run Cython on OSX Memo
How to find large files on Linux
How to install NumPy on Raspberry Pi