‫Welcome back.
‫So let's now try to install Python and its libraries for Windows.
‫So this is the Python website here.
‫And now we're going to open the file.
‫What we're going to do now, we're going to add Python to PATH.
‫I think it's important so that you could run your python code from whatever place in your computer.
‫And now let's customize the installation.
‫I personally don't need a documentation file, but you can leave it if you want.
‫The next.
‫Then we're going to put here install for all users.
‫And now do you want to allow this app to make changes to your device?
‫Yes.
‫And it's installing.
‫And so we have finished installing Python and we're going to close it now.
‫And so now we have our python and let's check if it works.
‫In our case, we will need to launch our programs from command prompt.
‫So I want to test it from command prompt.
‫The animation does not want to work well in ides like Spider or Jupyter Notebook.
‫The most robust way is to run it from terminal or from Windows Command prompt.
‫So I've opened a notepad and let's see if I can write a program here.
‫So I'm going to write here, print and then Hello World.
‫And now I'm just going to save it somewhere.
‫I'm going to save it like this.
‫So here, I'm going to put all files.
‫Hello, dot py.
‫And there you go.
‫Now I want my command prompt.
‫Here it is.
‫So now I need to find my way to desktop.
‫So see the desktop.
‫Now I'm here, dear.
‫And you see you have your halo dot pie here.
‫Can we run it?
‫We can.
‫And so it works.
‫But to run our simulations, we need a couple of libraries.
‫We need numpy, and we need math, blood lib.
‫So when we installed our python, then you can see that our pip here was also included or pip.
‫So that's Python package installer.
‫And in order to install NumPy, we need to make sure that this PIP is the newest one.
‫So we're going to write here python dash m pip install dash, dash, upgrade pip.
‫So it now says successful install pip and now let's install numpy.
‫I'm going to write pip install numpy.
‫Then two equal sines.
‫Now let's check if it works.
‫I'm going to right here, Python, and then I'm going to write here import numpy.
‫It didn't give me an error which is very good.
‫So this is our code here import numpy as np and then I'm going to write here print and p dot py.
‫So the py value and so now.
‫I'm going to write Exit and then I'm going to run this hello dot pie file and it gives me my pie value.
‫So that's very good because it means that we also have working pie here and now we need to install map
‫plot lib.
‫So I'm going to write here, pip install and then map plot lib.
‫Then I will put here two equal signs and then.
‫Okay so it says that successful installed.