检查 Pygame 版本 [英] Checking Pygame Version

查看:96
本文介绍了检查 Pygame 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 Python 和 Pygame 都很陌生.我在 Window 上安装了 Python 3.5.1 32 位,还安装了 Pygame 1.9.2 Python 3.5.但是如果我忘记了,有没有办法检查我从命令行或 Python IDLE 安装的 pygame 版本.

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.

对于 Python,我使用 python -V但是对于 Pygame,我不知道该怎么做.

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

推荐答案

使用:pip show

替代方案:

pip freeze | grep <pack_name>

这篇关于检查 Pygame 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆