Closed jhalbrecht closed 4 years ago
I had occasion to try tplink-smartplug.pyon ms windows. I received this error.
tplink-smartplug.py
> python --version > Python 2.7.14 [...] socket.inet_pton(socket.AF_INET, ip) AttributeError: 'module' object has no attribute 'inet_pton'
I fixed it after reading on StackOverflow Socket has no inet_pton method in Python 2.7 on Windows
inet_pton
pip install win-inet-pton // and in the .py import win_inet_pton
Suggestion; Is there a FAQ or some documentation where someone with write privilege could add this?
No windows support...
I had occasion to try
tplink-smartplug.py
on ms windows. I received this error.I fixed it after reading on StackOverflow Socket has no
inet_pton
method in Python 2.7 on WindowsSuggestion; Is there a FAQ or some documentation where someone with write privilege could add this?