![]() If you see that output, then your installation of Python was successful.Īt the Python > prompt, type the statement import tkinter followed by the Enter key. Type "help", "copyright", "credits" or "license" for more information. Perform these steps to test your installations: Python3 -m pip install -U setuptools -user That command downloads and installs PyGame via pip, the Python-specific package manager.įollow-up to the previous note: An alternative installation strategy is to use your package manager to install only the python-3, python3-tk, idle3, and python3-pip packages, and then use pip to install the others by issuing these commands in a terminal window: Then open a terminal window and issue the python3 -m pip install -U pygame -user command. ![]() If your package manager doesn't offer python3-pygame, then first use your package manager to install all of the other required packages. Note: It's likely that your package manager will offer all of the required packages, with the possible exception of python3-pygame. The package names may vary slightly across Linux distributions. Using your package manager (for example, Synaptic), download and install these packages: python3, python3-pip, python3-tk, python3-numpy, python3-pygame, python3-setuptools, and idle3. The terminal application that is bundled with your Linux distribution.ĭownloading and Installing Python, Tkinter, NumPy, Pygame, and setuptools.You also will need the Python setuptools library to install the booksite library. The booksite library, that is, a set of modules that we developed specifically to support this booksite.The Tkinter, NumPy, and Pygame libraries, which are used by the booksite programs that do graphics or audio processing.IDLE, the Python Integrated Deve Lopment Environment.Python, that is, a Python compiler/interpreter.The Python programming environment required by this booksite consists of: All of the software is freely available on the Web. ![]() This page tells you how to setup a Python programming environment for your Linux computer and provides a step-by-step guide for creating and running a simple "Hello, world" Python program. ![]()
0 Comments
Leave a Reply. |