NameError

Cai Gengyang gengyangcai at gmail.com
Thu Nov 24 10:30:02 EST 2016


CaiGengYangs-MacBook-Pro:~ CaiGengYang$ pip install pygame
Collecting pygame
  Could not find a version that satisfies the requirement pygame (from versions: )
No matching distribution found for pygame
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
CaiGengYangs-MacBook-Pro:~ CaiGengYang$ python
Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.




On Thursday, November 24, 2016 at 11:26:49 PM UTC+8, DFS wrote:
> On 11/24/2016 10:09 AM, Cai Gengyang wrote:
> 
> > Hmm, so whats the solution ?
> 
> 
> One solution - not the solution - is:
> 
> $ pip install pygame
> Collecting pygame
>    Downloading pygame-1.9.2b1-cp27-cp27m-win32.whl (4.3MB)
>      100% |################################| 4.3MB 181kB/s
> Installing collected packages: pygame
> Successfully installed pygame-1.9.2b1
> 
> $ python
> Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 
> 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> 
> >>> import pygame
> >>>



More information about the Python-list mailing list