You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, first of all I highly recommend to update to a more recent version of Python because Python 2.7 has reached EOL. That means that this version is not supported anymore by the Python Foundation and it won't receive any updates anymore.
Second socketserver doesn't exists in Python 2.7. In Python 2.7 it is called SocketServer.
OrangeTux
changed the title
Libraries error
Failed to import socketserver in Python 2.7
Jan 29, 2020
'sockerserver' fails on systems without Python3:
# python example_server.py
Traceback (most recent call last):
File "example_server.py", line 1, in <module>
import socketserver
ImportError: No module named socketserver
//note
"socketserver doesn't exists(sic) in Python 2.7. In Python 2.7 it is called SocketServer"
//source: AdvancedClimateSystems/uModbus#83
//see also: https://pymotw.com/2/SocketServer/
#swipswaps
Hello,
I'm using python 2.7 in ubuntu and I'm creating a modbus TCP server while running the code for modbus TCP. I'm getting an error i.e
The text was updated successfully, but these errors were encountered: