为了在python中做一些简单的模拟,我已经安装了pygame模块。我下载了amd64.whl文件,因为我使用64位笔记本电脑,我尝试了两种方法:使用pips和解压缩whl文件。即使我尝试了它们,sublimetext3(我现在正在使用它因为它的简单性)找不到pygame模块。
这是我的追溯。
Traceback (most recent call last):
File "D:\2015\2015 Pedestrian Simulation\practice2.py", line 1, in <module>
import pygame
ImportError: No module named 'pygame'
[Finished in 0.1s with exit code 1]
[shell_cmd: python -u "D:\2015\2015 Pedestrian Simulation\practice2.py"]
[dir: D:\2015\2015 Pedestrian Simulation]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Anaconda3;C:\Anaconda3\Scripts;C:\Anaconda3\Library\bin;C:\Users\JW Kim\AppData\Local\Programs\Python\Python35\Scripts\;C:\Users\JW Kim\AppData\Local\Programs\Python\Python35\;C:\Users\JW Kim\AppData\Local\Programs\Python\Python35-32\Scripts\;C:\Users\JW Kim\AppData\Local\Programs\Python\Python35-32\]