No module named gdata.docs.service

1,571 views
Skip to first unread message

GenghisOne

unread,
May 16, 2009, 10:00:31 PM5/16/09
to Google Data Protocol
I'm trying to get the gdata service working on a windows machine and
am getting an import error when I type in "import gdata.docs.service"
at the IDLE command prompt.

At the risk of opening up a can of worms, what is the best way to
install gdata on a windows machine?

Eric Bidelman

unread,
May 16, 2009, 10:11:18 PM5/16/09
to google-he...@googlegroups.com
You'll need to modify your PYTHONPATH env variable to include a pointer to the libraries.  

This article explains how to do that:

GenghisOne

unread,
May 16, 2009, 11:56:10 PM5/16/09
to Google Data Protocol
Hi Eric

I read the article you mentioned and still cannot make sense of how to
install Gdata on windows.

The documentation says this...

"For Windows XP, pull up the Environment Variables for your profile:
Control Panel > System Properties > Advanced > Environment Variables.
From there, you can either create or edit the PYTHONPATH variable and
add the location of your local library copy."


Given there's no step by step instructions, I'm a bit a loss.

When I go to "Environment Variables" I'm faced with two choices --
User Variables and System Variables. Which one should I choose and
what should I type? In all candor, this whole windows-linux back-
slash, forward-slash, single-quote, double-quote thing is a bit of a
usability nightmare, and it would be nice to have a real-world
specific example.

Thx much.








On May 16, 7:11 pm, Eric Bidelman <api.e...@google.com> wrote:
> You'll need to modify your PYTHONPATH env variable to include a pointer to
> the libraries.
> This article explains how to do that:http://code.google.com/apis/gdata/articles/python_client_lib.html
>
> Cheers,
> Eric
>

GenghisOne

unread,
May 17, 2009, 6:03:07 PM5/17/09
to Google Data Protocol
This worked for me...


****
On Windows, you’d probably download foo-1.0.zip. If you downloaded the
archive file to C:\Temp, then it would unpack into C:\Temp\foo-1.0;
you can use either a archive manipulator with a graphical user
interface (such as WinZip) or a command-line tool (such as unzip or
pkunzip) to unpack the archive. Then, open a command prompt window
(“DOS box”), and run:

cd c:\Temp\foo-1.0
python setup.py install
****

http://docs.python.org/install/index.html#the-new-standard-distutils
Reply all
Reply to author
Forward
0 new messages