Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsiryk committed Dec 30, 2016
1 parent 7a30160 commit e24db71
Showing 1 changed file with 31 additions and 21 deletions.
52 changes: 31 additions & 21 deletions Anaconda/anaconda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,51 @@ http://conda.pydata.org/docs/_downloads/conda-cheatsheet.pdf

`Link text <http://conda.pydata.org/docs/_downloads/conda-cheatsheet.pdf>`

# update
conda update conda
conda update anaconda
Update::

conda list # display a list of installed packages and their versions
conda update conda
conda update anaconda

python # run the Python shell

# create a new environment named /envs/snowflakes with the program Biopython
conda create --name snowflakes biopython
conda create --name bunnies python=3 astroid babel
Display a list of installed packages and their versions::

conda list


Create a new environment named /envs/snowflakes with the program Biopython::

conda create --name snowflakes biopython
conda create --name bunnies python=3 astroid babel


To activate this environment, use::

# To activate this environment, use:
source activate snowflakes

# To deactivate this environment, use:

To deactivate this environment, use::
source deactivate


::

conda info --envs # see a list of environments
conda info --envs # see a list of environments


conda create --name <dest_name> --clone <source_name> # Make an exact copy of an environment
conda create --name <dest_name> --clone <source_name> # Make an exact copy of an environment

conda remove --name flowers --all # remove environment
<pkg_name> # remove pkg from flowers
conda remove --name flowers --all # remove environment
<pkg_name> # remove pkg from flowers

conda search python # search packages contain 'python'
--full-name python # search packages with full name 'python'
conda search python # search packages contain 'python'
--full-name python # search packages with full name 'python'

conda install <pkg_name> # install pkg to current env
--name <env_name> <pkg_name> # install pkg to 'env_name' environment
--channel https://conda.anaconda.org/pandas <pkg_name> # install a package from Anaconda.org
conda install <pkg_name> # install pkg to current env
--name <env_name> <pkg_name> # install pkg to 'env_name' environment
--channel https://conda.anaconda.org/pandas <pkg_name> # install a package from Anaconda.org

pip install <pkg_name> # install via pip
uninstall <pkg_name> # uninstall via pip
pip install <pkg_name> # install via pip
uninstall <pkg_name> # uninstall via pip



Expand Down

0 comments on commit e24db71

Please sign in to comment.