티스토리 수익 글 보기
Summary<\/strong>: in this tutorial, you’ll learn how to install Python on your computer, including Windows, macOS, and Linux.<\/p>\n\n\n\n Double-click the installer file to run the installer.<\/p>\n\n\n\n In the installer window:<\/p>\n\n\n\n It’ll take a few minutes to complete the setup.<\/p>\n\n\n\n If you see the following output from the Command Prompt after typing the It’s likely that you didn’t check the Add Python to PATH<\/strong> checkbox when you installed Python.<\/p>\n\n\n\n It’s recommended to install Python on macOS using an official installer. Here are the steps:<\/p>\n\n\n\n Before installing Python 3 on your Linux distribution, you check whether Python 3 was already installed by running the following command from the terminal:<\/p>\n\n\n If you see a response with the version of Python, then your computer already has Python 3 installed. Otherwise, you can install Python 3 using a package management system.<\/p>\n\n\n\n For example, you can install Python 3.13 on Ubuntu using apt:<\/p>\n\n\n To install the newer version, you replace 3.13 with that version.<\/p>\nInstall Python on Windows #<\/a><\/h2>\n\n\n\n
Download Python Installer #<\/a><\/h3>\n\n\n\n
\n
Run the installer<\/span> #<\/a><\/h3>\n\n\n\n
\n
python<\/code> command line without specifying its full path.<\/li>\n\n\n\nVerify the installation #<\/a><\/h3>\n\n\n\n
\n
python --version<\/code>. You should see output indicating the version you install, e.g., Python 3.13.2<\/li>\n<\/ul>\n\n\n\npython<\/code> command:<\/p>\n\n\n'python' is not recognized as an internal or external command,\noperable program or batch file.<\/code><\/span>Code language:<\/span> Shell Session<\/span> (<\/span>shell<\/span>)<\/span><\/small><\/pre>\n\n\nInstall Python on macOS #<\/a><\/h2>\n\n\n\n
\n
Install Python on Linux #<\/a><\/h2>\n\n\n\n
python3 --version<\/code><\/span><\/pre>\n\n\nsudo<\/span> apt<\/span> install<\/span> python3<\/span>.13<\/span><\/code><\/span>Code language:<\/span> CSS<\/span> (<\/span>css<\/span>)<\/span><\/small><\/pre>\n\n\n