unable to launch python3.8 -m idlelib.idle

stackf...@gmail.com stackflowauto at gmail.com
Fri Dec 25 20:26:50 EST 2020


unable to launch python3.8 -m idlelib.idle. getting below error msg. I am new to python. kindly help.

python3.8 -m idlelib.idle

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/idle.py", line 13, in <module>
    from idlelib.pyshell import main  # This is subject to change
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/pyshell.py", line 56, in <module>
    from idlelib import rpc
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/idlelib/rpc.py", line 73, in <module>
    class RPCServer(socketserver.TCPServer):
AttributeError: module 'socketserver' has no attribute 'TCPServer'


More information about the Python-list mailing list