On Jul 1, 7:15 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > > > Hi, > > > I was trying to hook into Google Calendar today using their gdata > > module for Python, but I can't seem to get Python to work with it. > > When I run the setup.py from the command line, I get the following: > > > Traceback (most recent call last): > > File "J:\Python\Lib\site-packages\gdata\setup.py", line 39, in ? > > package_dir = {'gdata':'src/gdata', 'atom':'src/atom'} > > File "J:\Python\lib\distutils\core.py", line 137, in setup > > raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % > > msg > > SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 > > [cmd2_opts] ...] > > or: setup.py --help [cmd1 cmd2 ...] > > or: setup.py --help-commands > > or: setup.py cmd --help > > > error: no commands supplied > > > I tried using some different commands, like --verbose, but it would > > just give me the same traceback. I also tried manually copying all the > > files into my site-packages directory (as you can see from the > > traceback) in hopes that it might work without running the setup.py > > file. > > > Does anyone have any ideas? I don't usually have any problem getting > > these things to work. I am using Python 2.4.3 on Windows XP Pro SP2. > > Did you supply an install command: > > python setup.py install > > --verbose is no command. > > Diez
Oops. When I typed <help> it gave me lots of info, but I guess I mis- read it. Turns out you were quite right and that all I needed was the "install" command. Thanks a lot! Mike -- http://mail.python.org/mailman/listinfo/python-list