pganssle / zoneinfo

Reference implementation for the proposed standard library module zoneinfo
Other
52 stars 20 forks source link

Could not build wheels for backports.zoneinfo which use PEP 517 and cannot be installed directly #108

Closed king1267 closed 3 years ago

king1267 commented 3 years ago

Trying to install backports.zoneinfo and I get this error.

C:\Users\dnmpl\Downloads\Sneaker-Monitors-master>pip install backports.zoneinfo Collecting backports.zoneinfo Using cached backports.zoneinfo-0.2.1.tar.gz (74 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Building wheels for collected packages: backports.zoneinfo Building wheel for backports.zoneinfo (PEP 517) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\dnmpl\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\dnmpl\AppData\Local\Programs\Python\Python39\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\dnmpl\AppData\Local\Temp\tmp4uki81ul' cwd: C:\Users\dnmpl\AppData\Local\Temp\pip-install-dy1v_21b\backports-zoneinfo_7e03a5ff299f4d04a41925a13b8e243a Complete output (32 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.9 creating build\lib.win-amd64-3.9\backports copying src\backports__init.py -> build\lib.win-amd64-3.9\backports creating build\lib.win-amd64-3.9\backports\zoneinfo copying src\backports\zoneinfo_common.py -> build\lib.win-amd64-3.9\backports\zoneinfo copying src\backports\zoneinfo_tzpath.py -> build\lib.win-amd64-3.9\backports\zoneinfo copying src\backports\zoneinfo_version.py -> build\lib.win-amd64-3.9\backports\zoneinfo copying src\backports\zoneinfo_zoneinfo.py -> build\lib.win-amd64-3.9\backports\zoneinfo copying src\backports\zoneinfo__init__.py -> build\lib.win-amd64-3.9\backports\zoneinfo 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' writing manifest file 'src\backports.zoneinfo.egg-info\SOURCES.txt' copying src\backports\zoneinfo\init__.pyi -> build\lib.win-amd64-3.9\backports\zoneinfo copying src\backports\zoneinfo\py.typed -> build\lib.win-amd64-3.9\backports\zoneinfo running build_ext building 'backports.zoneinfo._czoneinfo' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Failed building wheel for backports.zoneinfo Failed to build backports.zoneinfo ERROR: Could not build wheels for backports.zoneinfo which use PEP 517 and cannot be installed directly