Python Mint17.2安装py2exe

Python Mint17.2安装py2exe,python,py2exe,linux-mint,Python,Py2exe,Linux Mint,我试图下载.exe文件,但问题是:在计算机上找不到python的2.7版+无法添加目录 我试着使用: pip install http://sourceforge.net/projects/py2exe/files/latest/download?source=files 但这带来了一个错误: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 mock requires setuptools>=17.1. A

我试图下载.exe文件,但问题是:在计算机上找不到python的2.7版+无法添加目录

我试着使用:

pip install http://sourceforge.net/projects/py2exe/files/latest/download?source=files
但这带来了一个错误:

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
mock requires setuptools>=17.1. Aborting installation
error: Setup script exited with 1
然后我试着这样做:

sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev

sudo easy_install green let
sudo easy_install gevent
出现此错误时:

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
mock requires setuptools>=17.1. Aborting installation
error: Setup script exited with 1

py2exe不使用一些Windows模块吗?我相信它也应该在linux上工作,我尝试在linux上使用py2exe。但我得到了一些错误,说需要只在Windows上工作的函数。但是,此错误意味着setuptools版本过低,是否尝试更新?