Unable to install rpy2 on MAC OS due to ERROR: Failed building wheel for backports.zoneinfo

7k Views Asked by At

I am trying to install rpy2 on my mac. I have tried to use the command pip install rpy2 but I get the following error:

?25h  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

I tried using the command : pip install backports.zoneinfo but that returned the same error.

0

There are 0 best solutions below