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
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-ltqgdesz\cffi_26d658ac38374a76b1db7c6b86a3405c\setup.py", line 126, in
if sys.platform == "win32" and uses_msvc():
^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-ltqgdesz\cffi_26d658ac38374a76b1db7c6b86a3405c\setup.py", line 105, in uses_msvc
return config.try_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils\command\config.py", line 225, in try_compile
self._compile(body, headers, include_dirs, lang)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils\command\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils_msvccompiler.py", line 323, in compile
self.initialize()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils_msvccompiler.py", line 220, in initialize
vc_env = _get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\msvc.py", line 316, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\msvc.py", line 270, 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.
Environment
- OS : Windows 10 Pro 64-bit (10.0, Build 19045)
- Python : 3.11.6
- Git : 2.41.0.windows.3
- Script version : 1.8.0
I'm submitting a ...
Description
pip install -r requirements.txt
Collecting async-generator==1.10 (from -r requirements.txt (line 1))
Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting attrs==21.4.0 (from -r requirements.txt (line 2))
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting beautifulsoup4==4.11.1 (from -r requirements.txt (line 3))
Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Collecting bs4==0.0.1 (from -r requirements.txt (line 4))
Using cached bs4-0.0.1.tar.gz (1.1 kB)
Preparing metadata (setup.py) ... done
Collecting certifi==2021.10.8 (from -r requirements.txt (line 5))
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting cffi==1.15.0 (from -r requirements.txt (line 6))
Using cached cffi-1.15.0.tar.gz (484 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-ltqgdesz\cffi_26d658ac38374a76b1db7c6b86a3405c\setup.py", line 126, in
if sys.platform == "win32" and uses_msvc():
^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-ltqgdesz\cffi_26d658ac38374a76b1db7c6b86a3405c\setup.py", line 105, in uses_msvc
return config.try_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils\command\config.py", line 225, in try_compile
self._compile(body, headers, include_dirs, lang)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils\command\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils_msvccompiler.py", line 323, in compile
self.initialize()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\distutils_msvccompiler.py", line 220, in initialize
vc_env = _get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\msvc.py", line 316, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\msvc.py", line 270, 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.
Environment
config.json
The text was updated successfully, but these errors were encountered: