Python Forum
How to find the pygame example files?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find the pygame example files?
#4
the pygame folder would be in this path. I am not sure where you moved to? By importing that example yourself you got that path, so it must be there.
/usr/lib/python2.6/site-packages/


Libraries you install should be in /usr/local/lib, not /usr/lib. Look for python versions you installed there. Im pretty sure that Macs use the linux file structure for the most part.

If you cant find it run the whereis command on it to find its location
metulburr@ubuntu:~$ whereis python3.6
python3: /usr/bin/python3.5m /usr/bin/python3.5-config /usr/bin/python3.5m-config /usr/bin/python3 /usr/bin/python3.7 /usr/bin/python3.5 /usr/bin/python3.7m /usr/lib/python3 /usr/lib/python3.7 /usr/lib/python3.6 /usr/lib/python3.5 /etc/python3 /etc/python3.7 /etc/python3.6 /etc/python3.5 /usr/local/bin/python3.6-config /usr/local/bin/python3.6m-config /usr/local/bin/python3 /usr/local/bin/python3.6 /usr/local/bin/python3.6m /usr/local/lib/python3.7 /usr/local/lib/python3.6 /usr/local/lib/python3.5 /usr/include/python3.5m /usr/include/python3.6 /usr/include/python3.5 /usr/include/python3.6m /usr/share/python3 /usr/share/man/man1/python3.1.gz
metulburr@ubuntu:~$ whereis python2.7
python2: /usr/bin/python2.7 /usr/bin/python2.7-config /usr/bin/python2 /usr/lib/python2.7 /etc/python2.7 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/share/man/man1/python2.1.gz
metulburr@ubuntu:~$ whereis python3.7
python3: /usr/bin/python3.5m /usr/bin/python3.5-config /usr/bin/python3.5m-config /usr/bin/python3 /usr/bin/python3.7 /usr/bin/python3.5 /usr/bin/python3.7m /usr/lib/python3 /usr/lib/python3.7 /usr/lib/python3.6 /usr/lib/python3.5 /etc/python3 /etc/python3.7 /etc/python3.6 /etc/python3.5 /usr/local/bin/python3.6-config /usr/local/bin/python3.6m-config /usr/local/bin/python3 /usr/local/bin/python3.6 /usr/local/bin/python3.6m /usr/local/lib/python3.7 /usr/local/lib/python3.6 /usr/local/lib/python3.5 /usr/include/python3.5m /usr/include/python3.6 /usr/include/python3.5 /usr/include/python3.6m /usr/share/python3 /usr/share/man/man1/python3.1.gz
Recommended Tutorials:
Reply


Messages In This Thread
How to find the pygame example files? - by Piethon - Sep-03-2019, 09:00 AM
RE: How to find the pygame example files? - by metulburr - Sep-03-2019, 11:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygame has missing files. DamonTattersfield 1 3,459 Dec-27-2019, 11:54 AM
Last Post: Windspar

Forum Jump:

User Panel Messages

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