Hello
I tried to install Twint by pip in Visual Studio Code Terminal, but the following error occurred. Would you help me?
note: This error originates from a subprocess, and is likely not a problem with pip. **
** ERROR: Failed building wheel for cchardet
** Running setup.py clean for cchardet**
Failed to build cchardet
ERROR: Could not build wheels for cchardet, which is required to install pyproject.toml-based projects.
The whole text of error is:
Building wheel for cchardet (setup.py) ⌠error
error: subprocess-exited-with-error
Ă python setup.py bdist_wheel did not run successfully.
â exit code: 1
â°â> [11 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\cchardet
copying src\cchardet\version.py â build\lib.win-amd64-cpython-311\cchardet
copying src\cchardet_init_.py â build\lib.win-amd64-cpython-311\cchardet
running build_ext
building âcchardet._cchardetâ extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with âMicrosoft C++ Build Toolsâ: Microsoft C++ Build Tools - Visual Studio
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cchardet
Running setup.py clean for cchardet
Failed to build cchardet
ERROR: Could not build wheels for cchardet, which is required to install pyproject.toml-based projects.