Douglas Kastle
Douglas Kastle

Reputation: 739

"import atom" in gdata-python-client, which atom

I was running through the gdata-python-client, when I tried to run the code it failed as the module atom isn't installed.

http://code.google.com/p/gdata-python-client/source/browse/samples/contacts/contacts_example.py

When I try and do a pip install of atom

sudo pip install atom

it seems to pick up "Automated Testing on Mac", which doesn't compile on ubuntu.

http://pypi.python.org/pypi/atom/0.9.2

And isn't right any way as reading the code suggests that the atom module used here is for atom feed generation.

What is the correct module for atom to install in the gdata world and can it just used as is or does it need to be corrected in the file:

import pyatom as atom

for example

Upvotes: 1

Views: 2498

Answers (1)

Nicolas de Fontenay
Nicolas de Fontenay

Reputation: 2200

I have the same problem, I don't know why it can't find it either but it's a module which should be part of gdata:

Atom is installed as part of gdata. It installs in folder /usr/lib/python2./dist-packages/atom and gdata: usr/lib/python2./dist-packages/gdata

Try to locate it, otherwise uninstall gdata, get the latest one:

https://code.google.com/p/gdata-python-client/downloads/list

And install it manually :)

Note that it doesn't work with python 3

It supports up to python 2.7.

Hope that helps

Upvotes: 1

Related Questions