Install Wget on Windows
- 安装wget命令:
- 在powershell中执行
1 | Invoke-WebRequest -Uri "https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/wget.exe" -OutFile "C:\Windows\wget.exe" |
1 |
|
CMD 进入指定目录
1
cmd /k "cd /d %TEMP%"
1
start cmd /k "cd /d %TEMP%"
安装常用软件:
1
2
3
4
5
6
7
8
9
10
11
12
13
14@echo off
echo ===============================================================================
wget --no-check-certificate https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/python-3.13.5-amd64.exe
start python-3.13.5-amd64.exe
echo ===============================================================================
wget --no-check-certificate https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/Git-2.43.0-64-bit.exe
start Git-2.43.0-64-bit.exe
echo ===============================================================================
wget --no-check-certificate https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/chromedriver-win64.zip
7z x chromedriver-win64.zip -o"C:\Program Files\chromedriver-win64"
echo ===============================================================================
wget --no-check-certificate https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/chrome-win64.zip
7z x chrome-win64.zip -o"C:\Program Files\chrome-win64"
echo ===============================================================================设置pip源:
1
2# 中科大源
pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple