pygame安装与conda无法正常工作

时间:2016-07-16 10:53:50

标签: python pygame

我正在运行

C:\Anaconda3\envs\python27>conda install -c https://conda.binstar.org/krisvanneste pygame

并且(正如预期的那样)它显示已经安装了pygame

Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata ...........
Solving package specifications: ..........

# All requested packages already installed.
# packages in environment at C:\Anaconda3:
#
pygame 1.9.2a0 py27_0    http://conda.binstar.org/krisvanneste

C:\Anaconda3\envs\python27>python
Python 2.7.12 |Continuum Analytics, Inc.| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
A  naconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org

但是当我启动python并尝试导入它时,它失败了

>>> import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pygame

知道为什么它没有找到它或我在安装时做错了什么?

0 个答案:

没有答案