saghul / pycares

Python interface for c-ares
https://pypi.org/project/pycares/
MIT License
162 stars 74 forks source link

`pycares.reverse_address` Import Error #168

Closed cnicodeme closed 2 years ago

cnicodeme commented 2 years ago

Hi!

Reading the documentation at https://pycares.readthedocs.io/en/latest/utils.html, I'm trying to load the pycares.reverse_address but it does not appear to exists.

How can I access it?

saghul commented 2 years ago

Did you build the core? That function is defined in the C extension so the package needs to be built first.

cnicodeme commented 2 years ago

Good question, I've installed via Pip.

But I found out that ipaddress does the same so it worked for me ;)