简体   繁体   中英

How to download pygame for non default version of python

我正在运行El Capitan,当我键入python --version ,终端显示prints Python 2.7.10 ,我已经成功下载了python 2.7.10的pygame,但是我想在python 3.5.1中进行开发,我知道我可以通过输入终端中的python3 ,但是如何为该版本的python正确设置pygame?

使用python3.5 -mpip install pygame

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM