开发者

Python 3 cx-Freeze install

开发者 https://www.devze.com 2023-02-22 07:25 出处:网络
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

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

精彩评论

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

关注公众号