Python 2.7 ImportError:在Pyinstaller中转换pygame期间没有名为base的模块

Python 2.7 ImportError:在Pyinstaller中转换pygame期间没有名为base的模块,python-2.7,pygame,pyinstaller,Python 2.7,Pygame,Pyinstaller,我知道pyinstaller-2.1适合在PythonV2.7而不是v3以后的版本下工作,但是我已经确保我已经安装了pygame包及其从中找到的依赖项 我通过发出“python makespec.py--onefile--debug pingpong.py”和“python build.py pingpong.spec”创建了spec文件,没有任何错误 当我试图通过在测试试用终端中发出“/pongpong”来执行它时,发现的错误如下 LOADER: out00-PYZ.pyz LOADER: R

我知道pyinstaller-2.1适合在PythonV2.7而不是v3以后的版本下工作,但是我已经确保我已经安装了
pygame
包及其从中找到的依赖项

我通过发出“
python makespec.py--onefile--debug pingpong.py
”和“
python build.py pingpong.spec
”创建了
spec
文件,没有任何错误

当我试图通过在测试试用终端中发出“
/pongpong
”来执行它时,发现的错误如下

LOADER: out00-PYZ.pyz
LOADER: Running scripts
Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/x/Documents/python/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py", line 270, in load_module
    exec(bytecode, module.__dict__)
  File "/home/x/Documents/python/PyInstaller-2.1/utils/build/pingpong/out00-PYZ.pyz/pygame", line 127, in <module>
ImportError: No module named base
LOADER: RC: -1 from pingpong
LOADER: OK.
LOADER: Cleaning up Python interpreter.
LOADER: Back to parent
LOADER: Doing cleanup
LOADER: Freeing archive status for /home/x/Documents/python/PyInstaller-2.1/utils/dist/pingpong
LOADER:out00-PYZ.PYZ
加载程序:运行脚本
回溯(最近一次呼叫最后一次):
文件“”,第4行,在
文件“/home/x/Documents/python/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py”,第270行,在load_模块中
exec(字节码、模块、指令)
文件“/home/x/Documents/python/PyInstaller-2.1/utils/build/pingpong/out00 PYZ.PYZ/pygame”,第127行,在
ImportError:没有名为base的模块
加载器:RC:-1来自乒乓球
加载器:好的。
加载器:清理Python解释器。
加载程序:返回到父级
加载器:正在进行清理
加载程序:释放/home/x/Documents/python/PyInstaller-2.1/utils/dist/pingpong的存档状态

仅供参考,我在Ubuntu32位版本13.10平台上工作,希望能有兴趣探索仅使用pyinstaller,我在windows平台下使用py2exe成功运行。

我也遇到了同样的问题。。。我现在正在尝试PyInstaller的一些旧版本,看看它是否能改善这种情况