当前位置:网站首页>deepin 20 kivy unable to get a window, abort

deepin 20 kivy unable to get a window, abort

2022-07-05 07:28:00 work-harder

background

  • deepin 20; The computer is too old , run windows when , The advertisements of various browsers make the computer look like a dying snail
  • python 3.7.3
  • kivy 2.0.0
  • The phenomenon : Run the first test kivy The program , Tips “unable to get a window, abort”
  • according to unable to get a window Search for , There are various posts . The result is that you can't make it .
  • Some modules prompt that the appropriate version cannot be found ( It is estimated that the version of the post is different )

resolvent

  • According to the prompt error message , Look up for the last command to execute before the error .
  • Found in the import pygame when , Later, it began to be abnormal .
  • then pip3 install pygame
  • Run again kivy The first little program of , hello world The window appears

Add

  • stay deepin Lower installation kivy when , Will install a series of related modules , But some still " Suppose you have installed ".
  • In the process , There is a lack of other modules , With the help of error messages , Supplement and install one by one . Is the toss .:-)
原网站

版权声明
本文为[work-harder]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140555475795.html