I just updated the FAQ with some instructions:
http://code.google.com/p/multi-mechanize/wiki/FAQ
basically, you want to use python's "easy_install". easy_install is
available once you install Setuptools or Distribute (both are
compatible python distribution/packaging apps).
to install Distribute:
- go to http://pypi.python.org/pypi/distribute#distribute-setup-py
- download the distribute-setup-py script
- run the distribute-setup-py script. this will install Distribute
once this is done, you can easy_install mechanize
- go to a command prompt at C:\Python26\Scripts
- run: 'easy_install mechanize'
hth,
-Corey
For Mechanize on windows you need
1. Mechanize Source Tarball
More Info at http://wwwsearch.sourceforge.net/mechanize/
Download Link: http://wwwsearch.sourceforge.net/mechanize/src/mechanize-0.1.11.zip
After downloading the latest package, unzip it to a folder. On command
prompt browse to the folder and run command "python setup.py install"
example c:\mechanize\python setup.py install
At the end of the installation if you get the error
"No local packages or download links found for ClientForm" then
ClientForm package was not installed. Follow step 2
2. ClientForm (Dependency for mechanize)
More Info at http://wwwsearch.sourceforge.net/ClientForm/
Download Link: http://wwwsearch.sourceforge.net/ClientForm/src/ClientForm-0.2.10.zip
After downloading the latest package, unzip it to a folder. On command
prompt browse to the folder and run command "python setup.py install"
example c:\clientform\python setup.py install
Follow the traditional method for packages that cannot be installed
using easy_install.
-Rupesh
On Mar 6, 12:15 am, corey goldberg <cgoldb...@gmail.com> wrote:
> I've received some emails from people having trouble getting python-
> mechanize installed on Windows. This is needed by multi-mechanize to
> run mechanize based test scripts.
>
> I just updated the FAQ with some instructions:http://code.google.com/p/multi-mechanize/wiki/FAQ
>
> basically, you want to use python's "easy_install". easy_install is
> available once you install Setuptools or Distribute (both are
> compatible python distribution/packaging apps).
>
> to install Distribute:
> - go tohttp://pypi.python.org/pypi/distribute#distribute-setup-py
thanks rupesh. this is useful.
-Corey
i using "easy_install mechanize",they are some files will copy into
"\Lib\site-packages". like 'ClientForm-0.2.10-
py2.6.egg','mechanize-0.1.11-py2.6.egg'. only this ....
was there a question you had?
-Corey