Python Failed building wheel for backports.zoneinfo For Operating System Other Than Windows Like Linux Or MacOs.
The issue is mostly related to retrieving data from OS About Current Time With IANA And
backports.zoneinfois pre-builted for Windows And We Have to Build The Package For Linux Or MacOS With Ruby Compiler Or Any Other Language Specified By Error Also.
wheeland Try Again Installing.
pip install --upgrade pip wheel pip install backports.zoneinfo
Try Installing the Alternative Package Named
tzdata. ( Worked for My
The Package Supports Python 3 But It's Readme Is Not Updated About the Python 2 Support By Dev IDK Why 🤔.
pip install tzdata
Ruby CompilerFrom Your System Package Manager and Run The pip code again.
Given Below is for
sudo apt-get install ruby-full pip install backports.zoneinfo
Give a reaction if any one solutions helped you in any way.
Top comments (3)
As the real issue behind this issue was in my case this:
I just downgraded python 3.10 to 3.8 and it works again.
This seems to be an issue with not yet updated django related packages, and as soon as they use zoneinfo instead of backports.zoneinfo, it should work with python 3.10 again.
Thanks for your post, you pushed me to the right direction!
Yeah Sometimes New updates create new type of bugs. Thanks for the comment.
comment your thoughts