1 00:00:01,870 --> 00:00:04,810 - When you're working with installing software 2 00:00:04,810 --> 00:00:06,860 in the context of Anaconda, 3 00:00:06,860 --> 00:00:10,150 there are two so-called package managers 4 00:00:10,150 --> 00:00:12,220 that you're typically going to use 5 00:00:12,220 --> 00:00:15,370 and these are going to enable you to install 6 00:00:15,370 --> 00:00:17,090 what are known as packages. 7 00:00:17,090 --> 00:00:19,870 These are basically bundles of software 8 00:00:19,870 --> 00:00:22,270 that represent a given library 9 00:00:22,270 --> 00:00:27,270 or tool that you'd like to add to your Python distribution. 10 00:00:27,420 --> 00:00:30,900 Now there are two key package managers that you'll encounter 11 00:00:30,900 --> 00:00:32,370 throughout these videos. 12 00:00:32,370 --> 00:00:34,870 You already saw it in a preceding video, 13 00:00:34,870 --> 00:00:37,200 the conda package manager 14 00:00:37,200 --> 00:00:41,360 and that package manager is not only going to enable you 15 00:00:41,360 --> 00:00:44,300 to install additional software 16 00:00:44,300 --> 00:00:47,070 as you'll see in various later lessons 17 00:00:47,070 --> 00:00:50,140 but it also is going to be the tool that you use 18 00:00:50,140 --> 00:00:55,140 to manage Anaconda from the command line to do things like, 19 00:00:55,380 --> 00:00:58,890 create customer Anaconda environments 20 00:00:58,890 --> 00:01:00,640 which are important for example, 21 00:01:00,640 --> 00:01:05,310 for reproducibility or to add and remove those environments, 22 00:01:05,310 --> 00:01:06,850 activate those environments 23 00:01:06,850 --> 00:01:11,000 and also remove and install software as well. 24 00:01:11,000 --> 00:01:13,300 There's also one called pip 25 00:01:13,300 --> 00:01:15,220 and you'll use both of these 26 00:01:15,220 --> 00:01:17,930 because in the case of pip, 27 00:01:17,930 --> 00:01:21,230 more packages are available through pip 28 00:01:21,230 --> 00:01:24,580 than are currently available through conda. 29 00:01:24,580 --> 00:01:29,020 Now in general, we're going to use conda whenever possible. 30 00:01:29,020 --> 00:01:33,920 So anytime you want to install a new library 31 00:01:33,920 --> 00:01:37,440 or tool into the Anaconda Python Distribution, 32 00:01:37,440 --> 00:01:40,750 one of the nice things about doing that with conda 33 00:01:40,750 --> 00:01:42,850 is it's going to check everything else 34 00:01:42,850 --> 00:01:45,430 that you've previously installed with conda, 35 00:01:45,430 --> 00:01:48,380 check their dependencies among those items, 36 00:01:48,380 --> 00:01:53,380 and only perform the install if the dependencies are correct 37 00:01:53,410 --> 00:01:54,340 On the other hand, 38 00:01:54,340 --> 00:01:58,550 there are some things you simply can't install with conda 39 00:01:58,550 --> 00:02:02,050 in which case, we will typically use pip. 40 00:02:02,050 --> 00:02:05,700 Now some people do prefer to just use pip all the time 41 00:02:05,700 --> 00:02:09,513 because of the fact that it supports more packages. 42 00:02:10,720 --> 00:02:14,560 What I would recommend is trying conda first 43 00:02:14,560 --> 00:02:17,250 if we give you such an instruction. 44 00:02:17,250 --> 00:02:19,870 If conda doesn't work for any reason, 45 00:02:19,870 --> 00:02:22,920 then you would go ahead and use pip instead 46 00:02:22,920 --> 00:02:25,770 and that's the approach that we took 47 00:02:25,770 --> 00:02:28,560 throughout our writing effort as well