Conda (package manager): Difference between revisions

From David's Wiki
Created page with " ==Usage== How to use Anaconda: <syntaxhighlight lang="bash"> # Create an environment conda create -n tf2 python=3.6 # Activate an environment conda activate tf2 # Change ve..."
 
Line 1: Line 1:


==Usage==
==Usage==
[[File:Conda-cheatsheet.pdf]]<br>
How to use Anaconda:
How to use Anaconda:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 14: Line 15:
# Update all packages
# Update all packages
conda update --all
conda update --all
# Delete an environment
conda env remove --name <my_env>
</syntaxhighlight>
</syntaxhighlight>



Revision as of 14:16, 13 March 2020

Usage

File:Conda-cheatsheet.pdf
How to use Anaconda:

# Create an environment
conda create -n tf2 python=3.6

# Activate an environment
conda activate tf2

# Change version of Python
conda install python=3.7

# Update all packages
conda update --all

# Delete an environment
conda env remove --name <my_env>
Documentation
Notes
  • Use flag --force-reinstall to reinstall packages