【发布时间】:2011-04-06 17:51:27
【问题描述】:
我尝试安装 cx_freeze,但是当我运行 sudo python3 setup.py build 时出现错误:
/usr/bin/ld: cannot find -lffi
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
我知道我可以使用 synaptic 安装它,但我将 cx_Freeze 安装到 Python 2.6 中,但我需要 cx_Freeze 用于 Python 3。我使用的是 Ubuntu 10.04
【问题讨论】:
标签: python-3.x cx-freeze