Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
miniconda3:28 with Kenneth Love
You might not need all Anaconda has to offer. Check out miniconda!
If you don't want to install Anaconda, the navigator, and 0:00 all the packages that come with them, you can instead install Miniconda. 0:02 Miniconda is a much smaller package that really only comes with conda and 0:07 its dependencies. 0:10 This is great solution for working on servers, or 0:12 even smaller machines where you just can't afford all of that overhead, and 0:14 maybe you don't have a GUI to take advantage of. 0:18 Just like with Anaconda, 0:21 you'll want to download the installer that's right for you. 0:22 Now, if you're on Windows, you'll get an executable installer. 0:25 Which means you'll just walk through a wizard to install it just like you would 0:28 most other software. 0:32 But if you're on Mac OS or 0:33 Linux, then you're gonna have to download this shell script instead. 0:35 So I'm gonna go ahead and download that. 0:39 And I'm gonna say keep, but that warning is very apt. 0:41 It can be dangerous to use shell scripts. 0:44 I'll open up the terminal and I will go into my downloads folder. 0:48 And if I look here I have this Miniconda =latest MacOSX x86_64.sh. 0:54 So to install that, I'm gonna go ahead and run that with the SH command. 0:59 And yeah, I will agree to it. 1:07 And then we have to work our way through the license. 1:10 And yes, I approve of the license terms. 1:14 They're just like they were before. 1:18 And so this asks where we want to install it. 1:19 We're gonna install this to /Users/Kenneth/miniconda. 1:20 Yours will be a different path, of course. 1:23 I'll say Enter. 1:25 And it's going to go ahead and install everything. 1:27 And then is going to ask me if I want to add the path to this to my 1:29 batch profile and I do, so I'm gonna just press Enter and so now we're good. 1:33 So I'm going to quit and 1:37 restart my terminal so that that path will be picked up. 1:38 And then, let's try this out. 1:44 So now just like we did before when we had Anaconda installed, 1:46 we can still use conda, and we can create a new one. 1:51 So this time I'm just gonna call it treehouse. 1:55 And I wanna install the requests library, no I wanna install numpy again. 1:57 Let's keep it consistent. 2:02 Now this -n is the same as doing the --name. 2:03 You can just use a shortcut if you want. 2:07 So it wants to install all these things. 2:09 I'll go ahead and say yes, and it will download and install each of these things. 2:11 Now it has to download them this time because I no longer have the Anaconda 2:14 packages available to it. 2:17 I only have miniconda installed. 2:19 So it takes it a little bit longer to install all of this stuff. 2:21 Now if you're using Miniconda, you can create your conda environments, 2:25 you can install your packages, but you won't be able to launch 2:28 the Anaconda navigator and you won't be able to use Anaconda projects. 2:31 Like if you wanted to put them onto Docker or 2:34 Anaconda cloud without installing the appropriate packages through Conda or 2:36 just downloading the entire Anaconda package. 2:40 So now I can source activate treehouse, and 2:44 I can go into Python and I can say import numpy as np, and it works. 2:49 Personally, I prefer using Miniconda to Anaconda. 2:57 That's mostly though because I don't do much, or really any data science-y stuff. 3:00 I mostly use Miniconda to easily install packages like Open CV2 because 3:04 I don't want to fight with Mac OS and Windows about drivers and libraries and 3:08 other tooling. 3:11 Miniconda saves me a lot of time and frustration. 3:12 Like I said before this is just the tip of the Anaconda iceberg. 3:15 Go out and explore the available environments, packages, guides and 3:18 tools that the Anaconda community has available. 3:21 I'm sure you'll learn a ton and find places that you can give back. 3:24 Best of luck, I'll see you next time. 3:27
You need to sign up for Treehouse in order to download course files.Sign up