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?
#10
in that case pip3 install pygame should install it to python3.7

run that interpreter in the terminal first to verify pygame is working. Not in VS Code or any other IDE.
metulburr@ubuntu:~$ python3.7
Python 3.7.3 (default, Mar 26 2019, 01:59:45) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
>>> 
then try it in VS Code. Make sure that is invoking the python3.7 version
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, 05:18 PM

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