question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects

See original GitHub issue

Describe the bug

@kapilt When I try to install cloud custodian for azure I am getting the error “ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects”. The installation is working fine with AWS. The issue is only with installing c7n_azure package image

What did you expect to happen?

I expected to successfully install the azure package of cloud custodian, but instead it is showing “ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects” this error while installing the package

Cloud Provider

Microsoft Azure

Cloud Custodian version and dependency information

Custodian:   0.9.16
Python:      3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)]
Platform:   win32
Using venv:  False
Docker: False
Installed:

argcomplete==2.0.0
attrs==21.4.0
boto3==1.21.42
botocore==1.24.42
docutils==0.17.1
importlib-metadata==4.11.3
jmespath==1.0.0
jsonschema==4.4.0
pyrsistent==0.18.1
python-dateutil==2.8.2
pyyaml==6.0
s3transfer==0.5.2
six==1.16.0
tabulate==0.8.9
urllib3==1.26.9
zipp==3.8.0

Policy

No response

Relevant log/traceback output

No response

Extra information or context

we tried installing the latest version of Microsoft visual studio build tools. Still it did not work.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
CostaPedroHenriquecommented, Jul 3, 2022

Crie um arquivo runtime.txt com o seguinte conteúdo python-3.8.10

1reaction
swapnilj01commented, Jun 7, 2022

I changed my base image from python:3.8.4-alpine to python:3.10-alpine and it solved the problem for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Could not build wheels for backports.zoneinfo, which ...
this type of problems occur when you forget to modify your requirements.txt file and heroku server uses default settings like ...
Read more >
Could not build wheels for backports.zoneinfo, which is required
The error "Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects" occurs because the ...
Read more >
failed to build backports.zoneinfo error: could not build wheels ...
ERROR : "Could not build wheels for backports.zoneinfo",. which is required to install pyproject.toml-based projects Push rejected, failed to compile Python app.
Read more >
ERROR: Could not build wheels for backports.zoneinfo, which ...
Coding example for the question ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects-django.
Read more >
Anyone know why backports.zoneinfo package wont ... - Reddit
... backports.zoneinfo ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found