As I was tired keeping my Anaconda and Python software and packages up-to-date doing manual commandline instructions on a regular basis, I decided to just write a script that can be called in an automated way and eventually cleans up legacy packages to free up disk space.
You'll need to make sure PowerShell can run the untrusted script by executing the following command once: Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
Save the following commands as update-anaconda-python.ps1, I hope it also makes you life easier...
Write-Host "Updating Anaconda ..."
conda update --all --yes
Write-Host "Cleaning Anaconda ..."
conda clean --all --yes
Write-Host "Updating pip ..."
python -m pip install --upgrade pip
Write-Host "Updating python packages ..."
pip list | ForEach-Object { pip install --upgrade $_.Split()[0] }
Write-Host "Updating Anaconda ..."
conda update --all --yes
Write-Host "Cleaning Anaconda ..."
conda clean --all --yes
Write-Host "Updating pip ..."
python -m pip install --upgrade pip
Write-Host "Updating python packages ..."
pip list | ForEach-Object { pip install --upgrade $_.Split()[0] }
You'll need to make sure PowerShell can run the untrusted script by executing the following command once: Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
Best bets for soccer today - Sports Toto
ReplyDeleteToday, casinosites.one we're going to tell you a 토토 few key https://septcasino.com/review/merit-casino/ to checking 토토사이트 into soccer betting apps. of the most popular soccer betting options and 출장샵 which ones will