Hello Mat

 找回密码
 立即注册
查看: 7142|回复: 3

python离线安装

[复制链接]

84

主题

115

帖子

731

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
1467
发表于 2020-10-1 14:21:03 | 显示全部楼层 |阅读模式
python免安装版(绿色版)制作

python get-pip.py

python.exe .\Scripts\pip3.exe list

python.exe .\Scripts\pip3.exe install numpy==1.15.4
#python.exe .\Scripts\pip3.exe install numpy-base==1.15.4
#python.exe .\Scripts\pip3.exe install numpydoc==0.8.0
python.exe .\Scripts\pip3.exe install scipy==1.1.0

python.exe .\Scripts\pip3.exe install pywin32==223
python.exe .\Scripts\pip3.exe install pillow==5.3.0
python.exe .\Scripts\pip3.exe install opencv-python==4.1.0
python.exe .\Scripts\pip3.exe install pytorch==1.0.1
python.exe .\Scripts\pip3.exe install torchvision==0.2.2
python.exe .\Scripts\pip3.exe install pandas==0.23.4
python.exe .\Scripts\pip3.exe install pandoc==1.19.2.1
python.exe .\Scripts\pip3.exe install pep8==1.7.1
python.exe .\Scripts\pip3.exe install python-libarchive-c==2.8
python.exe .\Scripts\pip3.exe install python-dateutil==2.7.5
python.exe .\Scripts\pip3.exe install sip==4.19.8
python.exe .\Scripts\pip3.exe install scikit-learn==0.20.1
python.exe .\Scripts\pip3.exe install scikit-image==0.14.1
python.exe .\Scripts\pip3.exe install xlsxwriter==1.1.2

# python.exe .\Scripts\pip3.exe install numpy==1.15.4 --trusted-host=https://pypi.tuna.tsinghua.edu.cn -i https://pypi.tuna.tsinghua.edu.cn/simple
# pip install web.py -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
--trusted-host=pypi.tuna.tsinghua.edu.cn
清华镜像使用 -i https://pypi.tuna.tsinghua.edu.cn/simple
豆瓣源使用   -i https://pypi.doubanio.com/simple

阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

https://pypi.tuna.tsinghua.edu.cn/simple/opencv-python/

参考:
【1】https://www.cnblogs.com/sunnydou/p/5801760.html
【2】pandas操作依赖库


回复

使用道具 举报

1294

主题

1520

帖子

110

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22633
发表于 2021-12-24 21:59:28 | 显示全部楼层
算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2024-4-28 07:27 , Processed in 0.230168 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表