‫Welcome back.
‫Let's now install QB solvers for your MAC OS machine.
‫If you Google QB solvers, then you can find it in GitHub in this first result.
‫This GitHub is managed by Stephanie Curran.
‫And if you go there, then here you can see the files.
‫Here you can see installation.
‫Here you can see usage.
‫You see, this is our cost function here, and these are our constraints.
‫You also have an example here.
‫If you put it into your python code, then this example will give you this kind of solution.
‫You see, it's a row vector, your delta global.
‫Remember that in cup solvers your solution was given to you as a row vector.
‫While in matlab it would give you the solution as a common vector.
‫And then here you have frequently asked questions.
‫So this is the terminal.
‫Inside your terminal you will simply write pip install cube solvers is going to start installing it
‫at the beginning.
‫Everything goes well, but then you will get an error.
‫As you can see, it writes The GCC command requires the command line developer tools.
‫Would you like to install the tools now?
‫So this pop up in macOS will come up automatically, and so you will click install.
‫And so here you will need to read everything and then click Agree.
‫And then it will look for some software, it will download some software.
‫It's not going to take 9 hours.
‫No worries.
‫You see, now it's 8 minutes, 3 minutes.
‫And so once it's done with the installation, it will say the software is installed, done, and then
‫you will right here pip install episodes again, you will click enter.
‫And so this time everything seems to go well, successfully installed cube solvers.
‫You can see it here.
‫Then you right here.
‫Clear.
‫And then you go into your folder where you have your file and then you write Python three, then you
‫run your file.
‫In this case, it's going to be a drone file, though, but it doesn't matter because that one also
‫has copy servers inside.
‫So the point is that your kewpie servers is working.
‫Of course, your animation is a bit slow here, but that's because I'm running the animation and recording
‫the screen at the same time.
‫And this is your plot.
‫And there you go.
‫Now you have copy servers for your macOS Big Sur.
‫Thank you very much.