DEV Community

Discussion on: Build a Chatroom App with Python

Collapse
livmadrid profile image
Olivia Boynton

Thank you for sharing this! I do have one question though! I am using VSCode and python 3.6.9 and for some reason tkinter will not work. I tried sudo apt-get install python3-tk, but I got the error :

import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'.

Wondering if you have some insight as solutions have said to just use the sudo apt. command. Shouldn't tkinter be a part of Python3 already? or is this possibly a VScode issue?

Thanks -

Liv