Install and make tkinter work on AWS EC2 instance

后端 未结 2 2010
攒了一身酷
攒了一身酷 2021-01-19 10:21

I am desperately trying to make tkinter work on my EC2 instance.

I just want to be able to execute this line in python:

from tkinter import * 
         


        
2条回答
  •  情书的邮戳
    2021-01-19 11:09

    Tkinter requires a display. Unless you can somehow access a desktop on the AWS instance, you won't be able to load tkinter, much less use it.

提交回复
热议问题