Je veux installer le module mechanize disponible à http://wwwsearch.sourceforge.net/mechanize/ .

------------

J'ai donc d'abord installé easy_install à partir du lien "Install easy_install" présent dans cette page, puisqu' il est indiqué:
Using EasyInstall to download and install mechanize
1. Install easy_install
2. easy_install mechanize


J'ai aussi suivi la directive suivante:
Download ez_setup.py, and run it; this will download and install the appropriate setuptools egg for your Python version.
présente sur la page http://peak.telecommunity.com/DevCenter/EasyInstall

------------------

Et maintenant que dois-je faire ?
J'ai beau lire et relire ce qui suit à la page http://peak.telecommunity.com/DevCenter/EasyInstall :

For basic use of easy_install, you need only supply the filename or URL of a source distribution or .egg file (Python Egg).

Example 1. Install a package by name, searching PyPI for the latest version, and automatically downloading, building, and installing it:

easy_install SQLObject

Example 2. Install or upgrade a package by name and version by finding links on a given "download page":

easy_install -f http://pythonpaste.org/package_index.html SQLObject

Example 3. Download a source distribution from a specified URL, automatically building and installing it:

easy_install http://example.com/path/to/MyPackage-1.2.3.tgz

Example 4. Install an already-downloaded .egg file:

easy_install /my_downloads/OtherPackage-3.2.1-py2.3.egg

etc....


je ne comprends pas dans quel cadre interviennent les lignes
easy_install SQLObject
easy_install -f http://pythonpaste.org/package_index.html SQLObject
easy_install http://example.com/path/to/MyPackage-1.2.3.tgz
etc.



Faut-il créer un script Python dans lequel on importe le module easy_install puis écrire l'une des lignes ci-dessus ? J'ai essayé, ça ne donne rien. Peut être mon script est-il mal écrit ?

Actuellement il y a des fichiers easy_install, easy_install-2.5, easy_install-script, easy_instal-2.5-script dans le répertoire C:\Python25\Scripts. Faut-il exécuter l'un de ces fichiers ?

Faut-il faire autre chose ?
Mystère et boule de gomme.

Merci pour vos conseils.