-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathanaconda_howto
51 lines (40 loc) · 1.02 KB
/
anaconda_howto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
*************
* Environment
*************
Create an environment
---------------------
$ conda create --name (envname) python=2 [list of packages]
Activate/Deactivate an env
--------------------------
1. activate: $ source activate (envname)
2. deactivate: $ deactivate
Delete an env
-------------
$ conda remove --name (envname) --all
Clone an env
------------
$ conda create --name (dst_envname) --clone (src_envname)
verify env info
---------------
$ conda info --envs
*************
* Package
*************
Search for a package
--------------------
$ conda search (pkg_name)
Install a package
-----------------
$ conda install --name (envname) [list of packages]
$ conda install [list of packages] # install in the current env.
$ pip install (package name) # install with pip
List installed packages
-----------------------
$ conda list
Remove packages
---------------
$ conda remove --name (envname) [list of packages]
Check/Update conda version
--------------------------
check: $ conda --version
update: $ conda update conda