擅长:python、mysql、java
<p>要使用Google API for Python客户端,您需要首先安装它,因为googleapi不是Python模块中内置的。指令在<a href="https://developers.google.com/api-client-library/python/start/installation" rel="nofollow">Install the Library</a>中找到。</p>
<p><strong>安装</strong></p>
<p>您可以使用包管理器,也可以手动下载并安装Python客户端库:</p>
<p>托管安装</p>
<p>使用pip或setuptools管理安装(可能需要先运行sudo):</p>
<p>pip(首选):</p>
<p><code>$ pip install --upgrade google-api-python-client</code></p>
<p>Setuptools:使用Setuptools包中包含的easy_install工具:</p>
<p><code>$ easy_install --upgrade google-api-python-client</code></p>