1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

conda: fix examples (#6050)

This commit is contained in:
Hervé Nivon 2021-05-27 23:23:56 +02:00 committed by GitHub
parent db8d5ab804
commit 528727f70f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,24 +5,24 @@
- Create a new environment, installing named packages into it:
`conda create --name {{environment_name}} {{python=2.7 matplotlib}}`
`conda create --name {{environment_name}} {{python=3.9 matplotlib}}`
- List all environments:
`conda info --envs`
- Load or unload an environment:
- Load an environment:
`conda {{activate|deactivate}} {{environment_name}}`
`conda {{activate environment_name}}`
- Unload an environment:
`conda {{deactivate}}`
- Delete an environment (remove all packages):
`conda remove --name {{environment_name}} --all`
- Search conda channels for a package by name:
`conda search {{package_name}}`
- Install packages into the current environment:
`conda install {{python=3.4 numpy}}`