pip install pyinstaller 时报错: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/96/9e/6dbf706e8110a442c840d93d501acbf99040cc79d162018b3dedf17537c1/pyinstaller-4.10-py3-none-win_amd64.whl
在cmd 窗口重新输入:
pip install Pyinstaller -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
这里是指定了下载源。
执行后安装成功: