Using cached cffi-1.14.0.tar.gz (463 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\mohan\appdata\local\programs\python\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\mohan\AppData\Local\Temp\pip-install-2voalm_6\cffi\setup.py'"'"'; file='"'"'C:\Users\mohan\AppData\Local\Temp\pip-install-2voalm_6\cffi\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\mohan\AppData\Local\Temp\pip-pip-egg-info-j_9yj88w'
cwd: C:\Users\mohan\AppData\Local\Temp\pip-install-2voalm_6\cffi
Complete output (19 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\mohan\AppData\Local\Temp\pip-install-2voalm_6\cffi\setup.py", line 127, in
if sys.platform == 'win32' and uses_msvc():
File "C:\Users\mohan\AppData\Local\Temp\pip-install-2voalm_6\cffi\setup.py", line 105, in uses_msvc
return config.try_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')
File "c:\users\mohan\appdata\local\programs\python\python39\lib\distutils\command\config.py", line 225, in try_compile
self._compile(body, headers, include_dirs, lang)
File "c:\users\mohan\appdata\local\programs\python\python39\lib\distutils\command\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "c:\users\mohan\appdata\local\programs\python\python39\lib\distutils_msvccompiler.py", line 323, in compile
self.initialize()
File "c:\users\mohan\appdata\local\programs\python\python39\lib\distutils_msvccompiler.py", line 220, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\users\mohan\appdata\local\programs\python\python39\lib\site-packages\setuptools\msvc.py", line 314, in msvc14_get_vc_env
File "c:\users\mohan\appdata\local\programs\python\python39\lib\site-packages\setuptools\msvc.py", line 268, in _msvc14_get_vc_env
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/