Monday, July 9, 2012

Installing Python modules

Installing a Python module

Most modules come with a program that uses the distutils module import function to install a new module. Use this command in the module directory to install it:
python install

Successful installation should make the module available in either /usr/bin/ or /usr/local/bin/.

Listing installed modules

pydoc modules