导入外部仓库
pip install BeautifulSoup -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
重新下载仓库
pip install matplotlib --force-reinstall -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
导入后的位置
C:\Users\xieweikun\AppData\Local\Programs\Python\Python37\Lib\site-packages
打包应用程序
打包后会生成到dist目录下
# 安装pyinstaller
pip install pyinstaller -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
# 打包应用
pyinstaller -F jd.py