

Open the Start menu and search for cmd in the search box.Step 4: Open Command Prompt as an administrator. Choose Path and click Edit > New, and then paste the path copied from the File Explorer into the empty text box generated on the environment variables panel.Open the Control Panel and navigate to the path: System and Security > System > Advanced System Settings > Environment Variables.

The copied address looks like "C:\Program Files\Python310".Īfter copying the address, you need to create a path in the environment variable. Right click the Python name at the top of the File Explorer screen, and then click Copy Address. Step 2: Copy the path/address of the Python folder. So, you can open the File Explorer and then go to the path to locate the Python folder. Once finish Python setup on Windows 10, you can start to try installing PyGame on Windows 10.īy default, the Python folder is located at C:\Program Files. Others you can choose according to your needs. Then click Next.Īfter entering the Advanced Options dialog box, you must also check the following boxes here: Install for all users, Add Python to the environment variables. Or you can click the Customize Installation option and make sure the following boxes are checked: Documentation, pip, tcl/tk and IDLE, Python test suite, py launcher, for all users (requires elevation). Step 2: Open the Python installer, check the Install launcher for all users (recommended) and Add Python 3.10 to PATH boxes.
