I have a Python script getData.py that uses Mechanize, and runs fine under the interpreter. It was installed using easy_install - and the install seemed to indicate it was completed.
The problem is, when I try to compile it using py2exe while in the folder of the script, and using the run line command:
python getData.py py2exe
I get the warning: "Import error: No Module named mechanize"...
I checked the environmental path and find the following:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Python;C:\Python25\Lib\site-packages;C:\Program Files (x86)\Common Files\Adobe\AGL
I did a search for mechanize and find an egg file in C:\Python25\Lib\site-packages named mechanize-0.1.7b-py2.5.
Not really understanding the "egg" thing, what do I have here that needs to be done?
Stephen