Python Forum
[PyGame] Apparently module has no attribute display?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Apparently module has no attribute display?
#10
You might want to uninstall pygame. Cleanup and folders left behind. Then reinstall.

Still like to see where it is import from.
import pygame
print(locals()['pygame'])
My output. Since you are using windows. I would expect something like 'c:/program files/python3.6/etc'
Output:
<module 'pygame' from '/usr/lib/python3.6/site-packages/pygame-1.9.3-py3.6-linux-x86_64.egg/pygame/__init__.py'>
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
RE: Apparently module has no attribute display? - by Windspar - Dec-17-2017, 08:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Apparently module has no attribute display? Angelo26 1 2,035 Mar-11-2020, 07:14 PM
Last Post: nilamo
  [split] Apparently module has no attribute display? Kolterdyx 1 2,862 Sep-09-2018, 05:14 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020