尝试运行Python 2.7 中在此处找到的基本示例 Pyprocessing 脚本时,我收到以下错误消息。知道是什么原因造成的吗?
Traceback (most recent call last):
File "C:\Users\erez\Documents\Robin\scripts\Python\networkx-eg1.py", line 10, in <module>
run()
File "C:\Python27\lib\site-packages\pyprocessing-0.1.2.7-py2.7.egg\pyprocessing\__init__.py", line 383, in run
pyglet.app.run()
File "C:\Python27\lib\site-packages\pyglet\app\__init__.py", line 123, in run
event_loop.run()
File "C:\Python27\lib\site-packages\pyglet\app\base.py", line 135, in run
self._run_estimated()
File "C:\Python27\lib\site-packages\pyglet\app\base.py", line 164, in _run_estimated
timeout = self.idle()
File "C:\Python27\lib\site-packages\pyglet\app\base.py", line 280, in idle
window.flip()
File "C:\Python27\lib\site-packages\pyprocessing-0.1.2.7-py2.7.egg\pyprocessing\flippolicy.py", line 149, in flip
currentpos = (c_int*2)(0)
NameError: global name 'c_int' is not defined