bar4mi
Jun 20, 2016 - 00:05
First of all, I'm not good at Pythonista. I moved netaddr module to site-packages-2 after downloading it using pipista. When I import netaddr, I get an Error below. I found the default socket.py module has no inet_pton(). I'm wondering why socket.py has no inet_pton and how to solve this problem. I need your advice.
from socket import inet_pton as _inet_pton, AF_INET
ImportError: cannot import name inet_pton