telnetlib in pyboard.py is deprecated #16895
Unanswered
kchilton
asked this question in
Libraries & Drivers
Replies: 1 comment
-
I recently encountered this in a non-MicroPython context. Adapting the application to use a supported library ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Port, board and/or hardware
esp32-s3, though the problem should apply to all
MicroPython version
pyboard.py dc2fcfc
This is the latest version on 25 Feb 2025.
Reproduction
./pyboard.py --device 192.168.1.49 -f ls
generates the following:
ModuleNotFoundError: No module named 'telnetlib'
telnetlib has been deprecated since version 3.11, and removed in version 3.13. Other packages are not so similar as to provide an easy fix, AFAIK. Installation of telnetlib via pip (or pipx, or pip3) is no longer an option.
Expected behaviour
Expected to connect to a remote micropython board over telnet.
Observed behaviour
ModuleNotFoundError: No module named 'telnetlib'
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
Beta Was this translation helpful? Give feedback.
All reactions