You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\liuyug\AppData\Local\Temp\pip-install-5yjml5f1\cffi_e0db617fc070458f88e6d77e196dcdf9\setup.py", line 127, in
if sys.platform == 'win32' and uses_msvc():
File "C:\Users\liuyug\AppData\Local\Temp\pip-install-5yjml5f1\cffi_e0db617fc070458f88e6d77e196dcdf9\setup.py", line 105, in uses_msvc
return config.try_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')
File "c:\python38\lib\distutils\command\config.py", line 225, in try_compile
self._compile(body, headers, include_dirs, lang)
File "c:\python38\lib\distutils\command\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "c:\python38\lib\distutils_msvccompiler.py", line 327, in compile
self.initialize()
File "c:\python38\lib\distutils_msvccompiler.py", line 224, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\python38\lib\site-packages\setuptools\msvc.py", line 313, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "c:\python38\lib\site-packages\setuptools\msvc.py", line 267, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Collecting cffi==1.12.2
Using cached cffi-1.12.2.tar.gz (453 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\liuyug\AppData\Local\Temp\pip-install-5yjml5f1\cffi_e0db617fc070458f88e6d77e196dcdf9\setup.py", line 127, in
if sys.platform == 'win32' and uses_msvc():
File "C:\Users\liuyug\AppData\Local\Temp\pip-install-5yjml5f1\cffi_e0db617fc070458f88e6d77e196dcdf9\setup.py", line 105, in uses_msvc
return config.try_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')
File "c:\python38\lib\distutils\command\config.py", line 225, in try_compile
self._compile(body, headers, include_dirs, lang)
File "c:\python38\lib\distutils\command\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "c:\python38\lib\distutils_msvccompiler.py", line 327, in compile
self.initialize()
File "c:\python38\lib\distutils_msvccompiler.py", line 224, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\python38\lib\site-packages\setuptools\msvc.py", line 313, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "c:\python38\lib\site-packages\setuptools\msvc.py", line 267, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: