Last modified: Jan 10, 2023 By Alexander Williams
How to solve Microsoft Visual c++ is required with Django channels
I am trying to add channels to my Django project and when I install channels I keep getting errors...
I tried another version but the problems still persist.
I need help 🙁
and thanks ❤
Get MSVC++ and install it.
Hi, you need to install visual c++ 14. In the error description is what is missing and where to download.
As for why you need the Build Tools for Visual Studio, it's because some python modules have native dependencies, basically parts of the code are written in C++ for performance. These need to be compiled at the end of the pip install step, and on Windows this uses Visual Studio C++ Compiler.