0

could't able to install the tkinter python pacakage on google colab it's showing the invalid syntax error

"code" pip3 install tkinter

"error" File "", line 1 pip3 install tkinter ^ SyntaxError: invalid syntax

  • 1
    You cannot install `tkinter` using `pip3`. Also you cannot run tkinter application on google colab as there is no graphical environment, see this [question](https://stackoverflow.com/questions/61092329/setting-display-environment-variable-in-google-colab-when-using-tkinter). – acw1668 Jun 06 '21 at 10:25
  • thank you it means now i have install some idle to run the code – RISHAV RAJ Jun 09 '21 at 01:49

0 Answers0