Pip is able to uninstall most installed packages. Known exceptions are: Pure distutils packages installed with python setup.py install, which leave behind no.

Pip is the package management system for Python, used to install and manage software packages written in Python. Pip is the similar tool like the bundle, npm, composer in another programming language.

Step 1 – Install PIP

You can install pip with two methods, both methods are described below.

Install pip using easy_install

Easy Install is a python module available with setuptools. This is also used to manage, download, build, and install python modules.

Install pip using python script

Similarly, you can also use pip installation script. Download the script on your using wget or curl, then run the script with appropriate python version for which you need to install pip.

Please direct any questions or bugs regarding software to the company that developed the program.Rocket Download is not responsible for any problems that may occur from downloading or installing software that listed here.We are merely a software download directory and search engine of shareware, freeware programs available on the Internet.However report a problem you have had with any individual software listed here and we will delete it promptly. Gpsroutex 1.01 for mac. Note: Remember to virus scan all software before you install,and be sure to read and agree the software License Agreement.

Step 2 – Verify Installation

Check the install version of pip on your system using -V command line switch.

To view a list of helpful commands.

Step 3 – Installing Packages with PIP

Pip provides a simple command to install or uninstall packages on your system. Pip uses the following command to install any packages on your system.

Also, you can easily remove the package:

Pip can also take the input from a file for the number of packages to install for a specific application. Add all the required packages name with their version with a properly formatted file like requirements.txt file and execute the following command:

Reference: https://en.wikipedia.org/wiki/Pip_(package_manager)

Pygame Installation¶

Pygame requires Python; if you don't already have it, you can download it from python.org. Use python 3.6.1 or greater, because it is much friendlier to newbies, and additionally runs faster.

The best way to install pygame is with the pip tool (which is what python uses to install packages). Note, this comes with python in recent versions. We use the --user flag to tell it to install into the home directory, rather than globally.

To see if it works, run one of the included examples:

If it works, you are ready to go! Continue on to the tutorials.

Further information if you need it.¶

Hopefully the installation instructions above worked for you. If not, please read some alternative installation methods, and extra details below.

Wheels are available for x86 and x64 architectures on Linux and Windows, and for x64 on Mac. If pip doesn't find a wheel for your platform, it will try to compile pygame from source (see below).

pygame requires a 'newer' pip. If pygame starts compiling from source and fails, first try upgrading pip.

Raspberry Pi¶

This comes with pygame already installed on the default raspbian installation.

Windows installation¶

Make sure you install python3.6 with the 'Add python 3.6 to PATH' option selected. This means that python, and pip will work for you from the command line.

With This is possible to perform this task directly from the app. This is needless to mention that you save the GIF in your local storage as well.To get started with this app, at first, download and install it.

There is documentation with python for the 'windows installation steps'

If you get 'PermissionError: [WinError 5] Access is denied', before starting the command prompt right click and 'Run as administrator'.

Mac installation¶

virtualenv issue¶

There are problems with

and pygame on mac, where it loses focus. More details here: details on the virtualenv issue. It does work if you create a venv with python -m venv however. Instructions if you want to use an virtualenv (some people have trouble with the window losing focus when inside a venv). That's just needed on mac if you use virtualenv, not if you install it with --user, or if you use -m venv.

Anaconda Mac¶


instead of

(note the w on the end). If it doesn't work for you, please see the /wiki/MacCompile instructions.

Unix Binary Packages¶

Pip Install Enum34 For Mac

Many Linux and BSD distributions have their own packages of Pygame. These may have an older version of Pygame than the wheels, but have been carefully tested with other packages in that distribution.


Fedora/Red hat¶

DistributionPython 3 packagePython 2 packageDebian/Ubuntupython3-pygamepython-pygameFedorapython3-pygamepygame

FreeBSD also has an active pygame package. While techinicaly it isn't binary, it is automatically built and installed by the ports manager. See the FreeBSD package page for more information. http://www.freebsdports.info/ports/devel/py-game.html

Gentoo has a builtin package for pygame. This is compiled for your system as it installs, similar to BSD, http://packages.gentoo.org/package/dev-python/pygame

Installing From Source¶


Compiling and installing pygame is handled by Python's distutils. Pygame also comes with some scripts to automatically configure the flags needed to build pygame. Use the 'setup.py' script to start the installation.

The first time you run the setup script, it will call the 'config.py' script. This will build a 'Setup' file which stores all the information needed to compile. The 'config.py' will do a good job of detecting what dependencies are available and where they are located. If it isn't perfect, it is easy to build your own, or edit the created 'Setup' text file. This 'Setup' file is a simple Makefile-like text file. It defines variables needed to use each dependency, and then enables all the pygame modules with found dependencies. If you have trouble compiling, you should be able to easily fix any problems inside the 'Setup' file.

Running the 'setup.py' script will call distutils to build and install the pygame package. Distutils actually supports a wide variety of compile and install options. running 'python setup.py help' will start to show you the different options available. You can change many things like install locations, compiler to use, and more. Calling the 'setup.py' script with no arguments and it will just ask you if you want the default flags needed to compile and install.

Some of the .c files are generated by Cython from .pyx files. Running 'setup.py cython' will update them.

Windows Compiling Info

You can compile pygame on windows with mingw (gcc for windows) and also with visual studio. Up to date details can be found here: CompileWindows

Unix Compiling Info

Compiling from linux shouldn't give you any problems. One thing you must keep in mind is that most linux RPM packages separate the actual library from the 'dev' files needed to compile. To build you will need to make sure the packages like 'SDL-dev' are installed.

You can check to see if SDL is ready to be built from by running the command sdl-config and seeing if it is found. If the sdl-config script is not on the path (or you have more than one?) Set the environment variable SDL_CONFIG to its location.

Sometimes you will have the SDL libraries installed in once location, and the other SDL libraries in another. This tricks the pygame config scripts, but you can help it out by setting the environment LOCALBASE to a path prefix where the other libraries are. The common case for this is SDL installed in /usr and other SDL libs installed in /usr/local. The command for this situation is 'LOCALBASE=/usr/local python setup.py install'.

On Debian/Ubuntu:

Mac OS X Compiling Info¶

Up to date instructions for compiling on Mac OS X can be found here: MacCompile