在PsychoPy中导入操纵杆时出现pyglet错误

时间:2015-10-05 21:27:06

标签: psychopy

我正在尝试使用PsychoPy中的操纵杆,我无法导入模块而不会出现以下错误:

File "joytest.py", line 1, in <module>
  from psychopy.hardware import joystick
File "/usr/lib/pymodules/python2.7/psychopy/hardware/joystick/__init__.py", line 36, in <module>
  import pyglet_input
File "/usr/lib/pymodules/python2.7/psychopy/hardware/joystick/pyglet_input/__init__.py", line 155, in <module>
  from x11_xinput import get_devices as xinput_get_devices
File "/usr/lib/pymodules/python2.7/psychopy/hardware/joystick/pyglet_input/x11_xinput.py", line 11, in <module>
  from pyglet.input.base import \
ImportError: No module named input.base

我使用的是Ubuntu 14.04,运行Python 2.7.6,PsychoPy 1.79.01和pyglet 1.1.4。任何帮助将不胜感激!

0 个答案:

没有答案