Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I am trying to install the mechanize lib so I can use python to do webbrowseing

6 views
Skip to first unread message

tedp...@gmail.com

unread,
Aug 22, 2008, 8:23:46 AM8/22/08
to
Hi,
I am trying to install the mechanize lib so I can use python to do
webbrowseing.

First I set up easy_install

When I ran the script, it download the files ok, then I got these
error messages
sun is not reganized as a internal command
I did a sercah on sun.* and the sercah came up empty, am I missing
some files?
The next error was
“Error could not find set up script”.

Gabriel Genellina

unread,
Aug 24, 2008, 12:40:37 AM8/24/08
to pytho...@python.org
En Fri, 22 Aug 2008 09:23:46 -0300, tedp...@gmail.com <tedp...@gmail.com> escribió:

> Hi,
> I am trying to install the mechanize lib so I can use python to do
> webbrowseing.
>
> First I set up easy_install
>
> When I ran the script, it download the files ok, then I got these
> error messages
> sun is not reganized as a internal command

???

This sequence should work:

- Download ClientForm (in .zip or .gz format as you wish)
- Extract into a temporary directory
- cd to that directory and execute
python setup.py install

- Download mechanize (in .zip or .gz format as you wish)
- Extract into a temporary directory
- cd to that directory and execute
python setup.py install

> I did a sercah on sun.* and the sercah came up empty, am I missing
> some files?

I don't think this "sun" actually comes from mechanize... Try the above procedure

--
Gabriel Genellina

0 new messages