Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x Python3 cx冻结安装_Python 3.x_Cx Freeze - Fatal编程技术网

Python 3.x Python3 cx冻结安装

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。我使

我试图安装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