quan tuong

quan tuong

  • NA
  • 3
  • 1.1k

PYCHARM- django

Mar 21 2022 1:39 PM

ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Administrator\PycharmProjects\LTHD\IT2022-RestfulApiDemo\RestApisV1\venv\Scripts\python.exe' 'C:\Users\Administrator\PycharmProjects\LTHD\I
T2022-RestfulApiDemo\RestApisV1\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpotwwj0v
4'
       cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-7jqgfw6t\backports-zoneinfo_5b241376572d44d1b7de8c6f7c803546
  Complete output (22 lines):
  running bdist_wheel
  running build
  running build_py
  running egg_info
  writing src\backports.zoneinfo.egg-info\PKG-INFO
  writing dependency_links to src\backports.zoneinfo.egg-info\dependency_links.txt
  writing requirements to src\backports.zoneinfo.egg-info\requires.txt
  writing top-level names to src\backports.zoneinfo.egg-info\top_level.txt
  reading manifest file 'src\backports.zoneinfo.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.png' under directory 'docs'
  warning: no files found matching '*.svg' under directory 'docs'
  no previously-included directories found matching 'docs\_build'
  no previously-included directories found matching 'docs\_output'
  adding license file 'LICENSE'
  adding license file 'licenses/LICENSE_APACHE'
  running build_ext
  building 'backports.zoneinfo._czoneinfo' extension
  zoneinfo_module.c
  lib/zoneinfo_module.c(600): error C2065: '_PyLong_One': undeclared identifier
  lib/zoneinfo_module.c(600): warning C4047: '=': 'PyObject *' differs in levels of indirection from 'int'
  error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.31.31103\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  ----------------------------------------
  ERROR: Failed building wheel for backports.zoneinfo
Failed to build backports.zoneinfo
ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects