Home > other >  Python installation pygame, module & # x27; Pygame & # x27; Has no attribute & # x27; Dispaly & # x2
Python installation pygame, module & # x27; Pygame & # x27; Has no attribute & # x27; Dispaly & # x2

Time:09-27

In python installation pygame,
And then run, in the following results:

AttributeError Traceback (the most recent call last)

5. Pygame init ()
6 # new window
- & gt; 7 screen=pygame. Dispaly. Set_mode ((640, 480))
8
9 # set the window title

AttributeError: module 'pygame has no attribute' dispaly '

How to deal with this problem?
  • Related