深度学习(番外篇):pip常用方法

导入外部仓库

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

猜你喜欢

转载自blog.csdn.net/xieweikun_7/article/details/108029665