By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,745 Members | 812 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,745 IT Pros & Developers. It's quick & easy.

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

P: n/a
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”.
Aug 22 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
En Fri, 22 Aug 2008 09:23:46 -0300, te*******@gmail.com <te*******@gmail.comescribió:
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

Aug 24 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.