Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 2.7 Pyinstaller:简单hello world的分段错误_Python 2.7_Osx Mavericks_Pyinstaller - Fatal编程技术网

Python 2.7 Pyinstaller:简单hello world的分段错误

Python 2.7 Pyinstaller:简单hello world的分段错误,python-2.7,osx-mavericks,pyinstaller,Python 2.7,Osx Mavericks,Pyinstaller,我正在尝试在Mavericks上使用Pyinstaller。我正在测试的脚本非常简单: print 'hello world' pyinstaller行是: pyinstaller.py --onedir --name=workd main.py 当我尝试运行生成的文件时,我得到: $ build/workd/workd [1] 4101 segmentation fault build/workd/workd 我尝试了几个pyinstaller版本,包括github存储库中的版本

我正在尝试在Mavericks上使用Pyinstaller。我正在测试的脚本非常简单:

print 'hello world'
pyinstaller行是:

pyinstaller.py --onedir --name=workd main.py
当我尝试运行生成的文件时,我得到:

$ build/workd/workd
[1]    4101 segmentation fault  build/workd/workd
我尝试了几个pyinstaller版本,包括github存储库中的版本12e40471c

我做错了什么