开发者

Python 3 cx-Freeze install

I tried to install cx_freeze, but when I run sudo python3 setup.py build I get an error:

/usr/bin/ld: cannot find -lffi
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit开发者_开发百科 status 1

I know that I can install it using synaptic but that installed cx_Freeze into Python 2.6 but I need cx_Freeze for Python 3. I use Ubuntu 10.04


Sounds like libffi isn't installed. Try:

sudo apt-get install libffi-dev
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜