Modern APIs with FastAPI and Python Transcripts
Chapter: Setup and following along
Lecture: Python version

Login or purchase this course to watch this video and the rest of the course contents.
0:00 In this short little section, what we're gonna do is talk about what you need
0:03 to get your machine set up to follow along.
0:05 And throughout this course, I strongly encourage you to build the application you see being
0:10 built during the course and to play around with slight variations of that.
0:14 In order to do that, you're gonna need a few things set up on your
0:17 system. First of all, would it surprise you to know that you need Python
0:21 to build a Python Web framework, or build apps with the Python Web framework?
0:25 Of course not. But specifically,
0:27 you're going to need at least Python 3.6, so if you have something less than 3.6
0:31 it's just not going to run.
0:34 FastAPI has a minimum Python requirement of Python 3.6 and honestly,
0:38 the newer the better. This course, we're gonna be using Python 3.9 throughout the course.
0:43 You might wonder, well,
0:45 I think I have Python, but not sure,
0:47 do I? You can check on Linux and Mac OS.
0:50 You can type "python3 -V" and get Python 3.8, 3.9, hopefully something new. If that's
0:57 below 3.6 or it doesn't come back with anything,
0:59 You gotta get Python. Over on windows,
1:03 It's a little more complicated because sometimes there's a Python and Python3 command,
1:07 sometimes there's just a Python command. Python is your best bet,
1:11 so type "python -V"
1:13 and if you get output that says "python like python 3.8, 3.9", you're good to go.
1:19 But if you run this and you get no output and yet it doesn't crash,
1:23 that means that Python is not actually installed.
1:26 There's this shim that Microsoft has put into Windows that if you just type Python alone
1:30 it will launch the installer to go find it on the Windows store and potentially
1:34 install it. But they've made this oversight where if you pass command line arguments to
1:39 it, all it does is nothing,
1:40 doesn't launch the installer, doesn't say I'm not really Python,
1:43 It doesn't give a version. So be really careful.
1:45 If it does nothing, you don't actually have Python.
1:48 But if it gives you some output like this,
1:50 you're good to go. Finally,
1:52 if you need help installing Python,
1:53 check out ""
1:57 they've got a guide that they're keeping up to date over there. Personally,
2:01 On Mac OS, I use Homebrew to install Python 3, 3.9 currently, and then on Windows
2:07 I use chocolatey, but you can use whatever systems you want or whatever mechanisms,
2:11 There's actually a lot of ways to do so, so check it out of here at ""