Tools :py2exe
take pip Copy installation statements locally cmd in , open cmd, Input
pip install py2exe -i https://pypi.tuna.tsinghua.edu.cn/simple/
Designated here pip The source is Tsinghua , Otherwise, the network speed will be too slow, resulting in timeout .
notes :1) Others pip Source :
Alibaba cloud http://mirrors.aliyun.com/pypi/simple/
University of science and technology of China https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/
douban http://pypi.doubanio.com/simple/
Tsinghua University https://pypi.tuna.tsinghua.edu.cn/simple/
2) Another solution to timeout ( But it may not solve ):
pip install --default-timeout=1000 py2exe
python XXX.py
from distutils.core import setup
import py2exe
setup(console=['XXX.py'])
Just now setup.py Generate a... From the local file directory dist Folder , After entering, you will find the to be generated XXX.exe Execution procedure .
Voice cloning is a popular dee
Catalog introduction One 、 R