Answers for "how to update python in terminal"

9

upgrade python version mc

brew install python3
brew update && brew upgrade python
alias python=/usr/local/bin/python3
Posted by: Guest on May-14-2020
0

python update cmd

First install chocolatey:
$ @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
#here is the documentation about chocolatey: https://chocolatey.org/docs/why
#exit or refresh cmd, then run
$ choco upgrade python -y
Posted by: Guest on November-08-2021

Code answers related to "how to update python in terminal"

Python Answers by Framework

Browse Popular Code Answers by Language