Skip to content

Instantly share code, notes, and snippets.

@atulkumar2
Created December 4, 2020 15:05
Show Gist options
  • Save atulkumar2/7a1e96e80f73e3ab275af95242d22ea3 to your computer and use it in GitHub Desktop.
Save atulkumar2/7a1e96e80f73e3ab275af95242d22ea3 to your computer and use it in GitHub Desktop.
Install a lot of Data science packages at once (They bring in lot of dependencies with them)
conda install pandas seaborn notebook scikit-learn lxml json requests
Update all conda environments at once in Linux (except base)
for env in $(conda env list | cut -d" " -f1 | tail -n+4); do conda update -y -n $env --all; done
for base, do as follows
conda update -y -all -n base
Update all conda environments at once in Windows 10 (Using Anaconda Poweshell prompt)
conda env list | %{$_.split(' ')[0];} | Select-String -notmatch '#' | %{conda update -y -n $_ --all}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment