Python 3.x Python3 cx冻结安装
我试图安装cx\U freeze,但当我运行Python 3.x Python3 cx冻结安装,python-3.x,cx-freeze,Python 3.x,Cx Freeze,我试图安装cx\U 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\U Freeze安装到了Python2.6中,但我需要Python3的cx\U 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\U Freeze安装到了Python2.6中,但我需要Python3的cx\U Freeze。我使用Ubuntu 10.04,听起来好像没有安装libffi。尝试:
sudo apt-get install libffi-dev