Help "Install" Module for Python using WGET

Those are definately Unix/Linux commands to install python module. The installation in windows is pretty much similar. Follow the instructions given below

  1. Download the library from the website.
  2. Extract it using Winzip or WinRAR.
  3. It will create a directory with name like foo-0.2. The directory should contain a script named setup.py
  4. Now open the command prompt and cd to that directory
  5. At command prompt type following python setup.py install

Also check the following link for more detailed instructions

http://docs.python.org/release/2.6/install/index.html


What's the error message? Also what OS are you using? The install instructions seem fine.

In Debian & in most Unix Systems you could also these -

  1. sudo pip install <module_name> to install any module.
  2. or sudo easy_install <module_name>
  3. or sudo apt-get install <module_name>
  4. or you could do what you mentioned in the question. Should work fine.

Maybe you don't have root access. Package installation needs that. Post more info for more constructive comments. All the best.

Tags:

Python