2011-04-06 39 views
1

我試圖安裝cx_freeze,但是當我運行sudo python3 setup.py build我得到一個錯誤:的Python 3 CX-凍結安裝

/usr/bin/ld: cannot find -lffi 
collect2: ld returned 1 exit status 
error: command 'gcc' failed with exit status 1 

我知道我可以使用突觸安裝它,但該安裝cx_Freeze成Python 2.6,但我需要cx_Freeze for Python 3.我使用Ubuntu 10.04

回答

2

沒有安裝像libffi這樣的聲音。試試:

sudo apt-get install libffi-dev