Python 3.7 ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Python.Python.3.7 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.7 -e --silentwinget uninstall --id Python.Python.3.7 -e --silentInstaller အလိုက်
64-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.7.9-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {9DF6F8E6-72F4-474F-A929-37485BB7537E} /qn /norestart- MSI product code
- {9df6f8e6-72f4-474f-a929-37485bb7537e}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9df6f8e6-72f4-474f-a929-37485bb7537e}
- UpgradeCode
- {71010FC2-A70A-5D7A-AA83-DC4282DCFE02}
- DisplayVersion
- 3.7.9150.0
64-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.7.9-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {9DF6F8E6-72F4-474F-A929-37485BB7537E} /qn /norestart- MSI product code
- {9df6f8e6-72f4-474f-a929-37485bb7537e}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9df6f8e6-72f4-474f-a929-37485bb7537e}
- UpgradeCode
- {71010FC2-A70A-5D7A-AA83-DC4282DCFE02}
- DisplayVersion
- 3.7.9150.0
32-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.7.9.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {D0F4B802-4C35-43A7-B0B9-F1CBDB3675EC} /qn /norestart- MSI product code
- {d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- UpgradeCode
- {5C464E87-58D7-5592-B004-12ED93D23716}
- DisplayVersion
- 3.7.9150.0
32-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.7.9.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {D0F4B802-4C35-43A7-B0B9-F1CBDB3675EC} /qn /norestart- MSI product code
- {d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{d0f4b802-4c35-43a7-b0b9-f1cbdb3675ec}
- UpgradeCode
- {5C464E87-58D7-5592-B004-12ED93D23716}
- DisplayVersion
- 3.7.9150.0
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-python-3-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe'
$sha256 = 'E69ED52AFB5A722E5C56F6C21D594E85C17CB29F12F18BB69751CF1714E0F987'
$file = Join-Path $env:TEMP 'python-3.7.9-amd64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe'
$sha256 = 'E69ED52AFB5A722E5C56F6C21D594E85C17CB29F12F18BB69751CF1714E0F987'
$file = Join-Path $env:TEMP 'python-3.7.9-amd64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9.exe'
$sha256 = '769BB7C74AD1DF6D7D74071CC16A984FF6182E4016E11B8949B93DB487977220'
$file = Join-Path $env:TEMP 'python-3.7.9.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-7.ps1
$url = 'https://www.python.org/ftp/python/3.7.9/python-3.7.9.exe'
$sha256 = '769BB7C74AD1DF6D7D74071CC16A984FF6182E4016E11B8949B93DB487977220'
$file = Join-Path $env:TEMP 'python-3.7.9.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait