在命令执行窗输入:
pip install Pyinstaller -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
(其中的Pyinstaller 是你需要下载的库或包名,根据自己需求自行更改即可)