Python + Google Calendar API issue
Diez B. Roggisch
deets at nospam.web.de
Sun Jul 1 08:15:45 EDT 2007
kyosohma at gmail.com 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
More information about the Python-list
mailing list