Python 3 cx-Freeze安装

时间:2011-04-06 17:51:27

标签: python-3.x cx-freeze

我尝试安装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 for Python 3.我使用Ubuntu 10.04

1 个答案:

答案 0 :(得分:2)

听起来没有安装libffi。尝试:

sudo apt-get install libffi-dev
相关问题