Python 3.10 ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Python.Python.3.10 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.10 -e --silentwinget uninstall --id Python.Python.3.10 -e --silentInstaller အလိုက်
64-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.10.11-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {A10FBB63-03FF-4B8C-A176-F5FD355F715B} /qn /norestart- MSI product code
- {a10fbb63-03ff-4b8c-a176-f5fd355f715b}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a10fbb63-03ff-4b8c-a176-f5fd355f715b}
- UpgradeCode
- {E3BAA187-CE22-5D2A-92E4-3290DEC0FCAB}
- DisplayVersion
- 3.10.11150.0
64-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.10.11-amd64.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {A10FBB63-03FF-4B8C-A176-F5FD355F715B} /qn /norestart- MSI product code
- {a10fbb63-03ff-4b8c-a176-f5fd355f715b}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a10fbb63-03ff-4b8c-a176-f5fd355f715b}
- UpgradeCode
- {E3BAA187-CE22-5D2A-92E4-3290DEC0FCAB}
- DisplayVersion
- 3.10.11150.0
32-bit · EXE (WiX Burn) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
python-3.10.11.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {24F90C01-2C0A-45DD-8619-2D1B68EB3D2B} /qn /norestart- MSI product code
- {24f90c01-2c0a-45dd-8619-2d1b68eb3d2b}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{24f90c01-2c0a-45dd-8619-2d1b68eb3d2b}
- UpgradeCode
- {474D137A-11E9-5F9D-9D62-DF035A3DB588}
- DisplayVersion
- 3.10.11150.0
32-bit · EXE (WiX Burn) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
python-3.10.11.exe /quiet /norestartဖယ်ရှားခြင်း (Uninstall)
msiexec /x {24F90C01-2C0A-45DD-8619-2D1B68EB3D2B} /qn /norestart- MSI product code
- {24f90c01-2c0a-45dd-8619-2d1b68eb3d2b}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{24f90c01-2c0a-45dd-8619-2d1b68eb3d2b}
- UpgradeCode
- {474D137A-11E9-5F9D-9D62-DF035A3DB588}
- DisplayVersion
- 3.10.11150.0
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-python-3-10.ps1
$url = 'https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe'
$sha256 = 'D8DEDE5005564B408BA50317108B765ED9C3C510342A598F9FD42681CBE0648B'
$file = Join-Path $env:TEMP 'python-3.10.11-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-10.ps1
$url = 'https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe'
$sha256 = 'D8DEDE5005564B408BA50317108B765ED9C3C510342A598F9FD42681CBE0648B'
$file = Join-Path $env:TEMP 'python-3.10.11-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-10.ps1
$url = 'https://www.python.org/ftp/python/3.10.11/python-3.10.11.exe'
$sha256 = 'BD115A575E86E61CEA9136C5A2C47E090BA484DC2DEE8B51A34111BB094266D5'
$file = Join-Path $env:TEMP 'python-3.10.11.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-10.ps1
$url = 'https://www.python.org/ftp/python/3.10.11/python-3.10.11.exe'
$sha256 = 'BD115A575E86E61CEA9136C5A2C47E090BA484DC2DEE8B51A34111BB094266D5'
$file = Join-Path $env:TEMP 'python-3.10.11.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