お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2017-05-02 15:51:02

rarigo
メンバ
登録日: 2016-10-26

gdataが使用できない

python 開発環境に関する質問です
ubuntu14.04
python3.4.3 python2.7.6
pip1.5.4

gdataを使用したいのですが,
pip install gdataでインストールしたのですが使用できません。

このように返ってきます。
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_rarigo/gdata/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-abc8t8zg-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_rarigo/gdata
Storing debug log for failure in /home/rarigo/.pip/pip.log

これを実行しても
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.4/tokenize.py", line 438, in open
    buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip_build_rarigo/gdata/setup.py'

エラーが返ってきてしまい、解決できません。

と、返ってきてしまい、gdataを使用できません。解決策をおねがいします。

オフライン

 

#2 2017-05-02 16:55:16

array
メンバ
登録日: 2007-03-13

Re: gdataが使用できない

[ur=https://github.com/google/gdata-python-client/blob/master/INSTALL.txtl]ここ[/url] を見るとpipではなくて、ダウンロードしてsudo python setup.py installでインストールするような記載があります。
pipではできないのではないかと思います。

オフライン

 

Board footer

Powered by FluxBB