Checking Pygame Version

24,071

Solution 1

Use this: pip show <pack_name>

Alternative:

pip freeze | grep <pack_name>

Solution 2

pip show pygame   // command to check your pygame details

output:

Name: pygame
Version: 1.9.4
Summary: Python Game Development
Home-page: https://www.pygame.org
Author: Pete Shinners, Rene Dudfield, Marcus von Appen, Bob Pendleton, others...
Author-email: [email protected]
License: LGPL
Location: /home/linux/anaconda3/lib/python3.6/site-packages
Requires: 
Required-by: 
Share:
24,071
Ye' Thura Ag
Author by

Ye' Thura Ag

Updated on August 04, 2022

Comments

  • Ye' Thura Ag
    Ye' Thura Ag almost 2 years

    I'm very new to both Python and Pygame. I have Python 3.5.1 32-bits installed on Window and Pygame 1.9.2 Python 3.5 installed as well. But in case if I forget, is there a way to check the pygame version I have installed from either command line or Python IDLE.

    For Python, I use python -V But for Pygame, I don't know how to.