1
00:00:00,460 --> 00:00:03,340
In this lecture, we're going to install Anaconda.

2
00:00:04,460 --> 00:00:06,360
And know how to install libraries.

3
00:00:06,900 --> 00:00:10,320
And and later we just run Jupyter Notebook.

4
00:00:10,320 --> 00:00:19,620
So in order to install Anaconda, we simply write Anaconda install and our our case is Windows.

5
00:00:19,620 --> 00:00:21,120
So our system is windows.

6
00:00:22,130 --> 00:00:25,010
We take this anaconda documentation.

7
00:00:26,930 --> 00:00:37,730
And you can see here, um, the Anaconda library explaining to you or Anaconda Anaconda website, explaining

8
00:00:37,730 --> 00:00:40,790
to you how to install Anaconda package.

9
00:00:41,510 --> 00:00:44,930
So here we need to download the package first.

10
00:00:45,800 --> 00:00:55,040
We go here and download it and you can see now it is actually installing or downloading the Anaconda

11
00:00:55,040 --> 00:00:58,310
package and later we can install it.

12
00:00:58,610 --> 00:01:05,090
Now we have to know something that of course after it is done we will install a library and there are

13
00:01:05,090 --> 00:01:06,440
many methods to do it.

14
00:01:06,470 --> 00:01:10,280
Now library packages we can use Pip install.

15
00:01:10,280 --> 00:01:11,340
This is the most common.

16
00:01:11,360 --> 00:01:13,280
However, we can use Conda.

17
00:01:13,280 --> 00:01:16,220
Also Conda install whatever the package is.

18
00:01:16,910 --> 00:01:22,250
And however, for the purpose of this course, let's keep it simple and use a pip.

19
00:01:22,850 --> 00:01:26,060
And if you run into trouble, you need to search through it.

20
00:01:26,060 --> 00:01:34,100
And basically, um, you will have a basic explanation how to solve, how to install different libraries

21
00:01:34,100 --> 00:01:37,820
that might work in one system and not work with the other.

22
00:01:37,820 --> 00:01:49,610
However, most cases Pip install is going to work fine and for our our course so now we got our, uh,

23
00:01:50,520 --> 00:01:53,310
our installer Anaconda Installer installed.

24
00:01:53,310 --> 00:01:55,650
We simply double click on it.

25
00:01:56,680 --> 00:01:57,790
And.

26
00:01:59,550 --> 00:02:08,250
We will get an image or a window that shows a like this window.

27
00:02:08,250 --> 00:02:09,330
And we simply put.

28
00:02:09,360 --> 00:02:09,810
Next.

29
00:02:09,810 --> 00:02:10,380
I agree.

30
00:02:10,410 --> 00:02:13,530
Next, it's simply as, as, as, um.

31
00:02:13,590 --> 00:02:16,020
As installing anything like a game or anything.

32
00:02:16,590 --> 00:02:19,620
And of course, I already installed it, so I'm not going to install it again.

33
00:02:19,620 --> 00:02:28,440
But if you have trouble, you just go through what's written in this documentation in in the Anaconda

34
00:02:28,440 --> 00:02:29,040
website.

35
00:02:29,070 --> 00:02:34,410
Now to install the library, you simply usually pip install the library name.

36
00:02:34,410 --> 00:02:37,920
So in case we want to install a library called Pillow.

37
00:02:38,790 --> 00:02:44,370
So Pip install and let's say of course you can see scikit learn everything.

38
00:02:44,700 --> 00:02:49,350
Um, for example, beautiful soup, something called beautiful soup.

39
00:02:52,740 --> 00:03:00,750
So we want this library and then we need to now open Anaconda.

40
00:03:02,670 --> 00:03:03,750
Anaconda prompt.

41
00:03:07,210 --> 00:03:07,930
This one.

42
00:03:13,630 --> 00:03:17,830
And simply paste it and press enter.

43
00:03:20,070 --> 00:03:25,620
So for this one I already have it installed so or already satisfied.

44
00:03:25,620 --> 00:03:28,050
If you don't have it, it will install it.

45
00:03:28,200 --> 00:03:34,650
Now, if we want to open Jupyter notebook first, we need to go to our change directory.

46
00:03:34,650 --> 00:03:37,320
We need to change our directory to our working directory.

47
00:03:37,320 --> 00:03:41,310
So we go to our working directory.

48
00:03:44,790 --> 00:03:48,510
I will just navigate to this directory.

49
00:03:49,470 --> 00:03:50,790
Our working directory.

50
00:03:59,490 --> 00:04:01,680
And basically this is my working directory.

51
00:04:01,680 --> 00:04:08,620
So we put change directory and we go through all of this link and we paste it here.

52
00:04:08,640 --> 00:04:10,680
This is my working directory.

53
00:04:11,670 --> 00:04:16,200
You press enter and now am in this working directory.

54
00:04:16,200 --> 00:04:18,360
So now I run Jupyter.

55
00:04:19,130 --> 00:04:22,060
Jupyter Notebook.

56
00:04:22,070 --> 00:04:27,020
I simply write Jupyter notebook and make it a little bit clearer.

57
00:04:34,210 --> 00:04:35,300
But it's.

58
00:04:40,680 --> 00:04:40,980
Here.

59
00:04:41,010 --> 00:04:46,760
Jupyter Notebook and you press simply press enter and it will open here.

60
00:04:46,770 --> 00:04:48,030
Jupyter Notebook.

61
00:04:48,030 --> 00:04:52,770
In order to open a Jupyter Notebook file, you just press New and Jupyter Notebook.

62
00:04:53,550 --> 00:04:56,670
And you can start writing code, for example.

63
00:04:57,120 --> 00:04:58,050
Print.

64
00:05:00,120 --> 00:05:01,710
And basically Hello world.

65
00:05:07,900 --> 00:05:11,410
And shift enter to run the the code.

66
00:05:12,360 --> 00:05:15,570
And now you have Hello World gets printed.

67
00:05:15,690 --> 00:05:19,830
Now you can also install libraries from Jupyter Notebook.

68
00:05:19,830 --> 00:05:27,480
So in order to do that, you you take this one, you just again copy it and put explanation.

69
00:05:27,480 --> 00:05:28,230
Mark.

70
00:05:30,640 --> 00:05:35,830
As you can see here, explanation Mark and Pip install and then shift and enter.

71
00:05:37,690 --> 00:05:44,110
And now it's acting as a, you know, anaconda prompt and here requirement or dissatisfied.

72
00:05:44,110 --> 00:05:46,240
The same message we got from the anaconda prompt.
