Python + Google Calendar API issue

K

kyosohma

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.

Thanks a lot!

Mike
 
D

Diez B. Roggisch

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
 
K

kyosohma

(e-mail address removed) schrieb:


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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top