gDoc python API导入失败 [英] gDoc python API import failure

查看:46
本文介绍了gDoc python API导入失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试按照 python_client_lib 上的说明使用gDoc python API时,

When I try to use gDoc python API following instruction at python_client_lib

我遇到了以下错误:

In [3]: import gdata
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-fc99779d388d> in <module>()
----> 1 import gdata

/Users/e12714/git/bin/anaconda/lib/python2.7/site-packages/gdata/__init__.py in <module>()
    107 
    108 
--> 109 class LinkFinder(atom.LinkFinder):
    110   """An "interface" providing methods to find link elements
    111 

AttributeError: 'module' object has no attribute 'LinkFinder'

我怎么了?错过了任何python模块吗?

What's wrong with me? Any python module missed?

推荐答案

遇到了同样的问题.

该问题归因于安装了atom-0.3.5.

Issue was due to having atom-0.3.5 installed.

可以通过安装pyatom而不是(优化的,c实现的)原子来解决

It can be solved by installing pyatom instead of the (optimised, c-implemented) atom

这篇关于gDoc python API导入失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆