little-carp / gobang

智能五子棋
Other
4 stars 2 forks source link

运行不了 #1

Open daiyuyunmaiyibanshan opened 5 years ago

daiyuyunmaiyibanshan commented 5 years ago

Traceback (most recent call last): File "F:\AI\gobang-master\gobang.py", line 1, in import pygame, random, math, tkinter ModuleNotFoundError: No module named 'pygame'

请问运行显示上面这样,怎么解决,谢谢!!!!

little-carp commented 5 years ago

ModuleNotFoundError: No module named 'pygame' 【模块未找到错误:没有模块命名为‘pygame’】 所以安装一下pygame工具包就行了 【注】运行程序前,一定要确认电脑中是否安装了pygame, random, math, tkinter, numpy这几个工具包,没有的话程序无法运行

YoujiaZhang commented 2 years ago

我的可以运行(doge