473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Python + Google Calendar API issue

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

Jun 30 '07 #1
2 2204
ky******@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
Jul 1 '07 #2
On Jul 1, 7:15 am, "Diez B. Roggisch" <d...@nospam.web.dewrote:
kyoso...@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
Oops. When I typed <helpit 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

Jul 1 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Irmen de Jong | last post by:
QOTW: "To make the instructions even friendlier it would also help if 'but Whatever You Do DON'T UNZIP THE FREAKIN' THING - This Means YOU John Latter!' were in large, bold, and underlined type. ...
0
by: Emile van Sebille | last post by:
QOTW (advanced interfaces track): "I'm firmly in favour of any language that can DWIMNWIS." -- Tim Delaney QOTW (MS roadkill track): "Underestimate MS at your own risk. It is one thing to not...
0
by: Cameron Laird | last post by:
QOTW: praise than which there is no higher: "I like the Python Cookbook, edited by Alex Martelli and David Ascher. I keep that one in my bathroom." Terry Carroll "e needed something more...
0
by: Diez B. Roggisch | last post by:
QOTW: "Python makes data-driven programming easy :-)" -- Kent "Python rewards abstraction." -- Alex Martelli As unicode becomes more and more prevalent, the issue of regular expressions...
0
by: Magnus Lycka | last post by:
QOTW: "*what* the value is is defined by the operations that the object supports (via its type). *how* the value is represented inside the object is completely irrelevant; a Python...
1
by: tleeuwenburg | last post by:
G'day Pythonistas! Welcome to Issue Two of The Python Papers. It has been an exciting time and we are pleased to have reached this milestone. I'd like to say a big hello to all the people who have...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.