###前提・実現したいこと
macOS Sierra 10.12
GoogleSearchConsoleAPIを利用したく、
- httplib2
- python-gflags
- google-api-python-client
この3つのライブラリをインストールしたいです。
httplid2は無事インストールできたのですが他2つがエラーが出しまい成功していません。
お気付きの点がございましたらご教授お願いいたします。
###発生している問題・エラーメッセージ
$ sudo pip install python-gflags Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-8IS9Ku/python-gflags/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-GT4tTt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-8IS9Ku/python-gflags/
$ sudo pip install --upgrade google-api-python-client Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 317, in run prefix=options.prefix_path, File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 736, in install requirement.uninstall(auto_confirm=True) File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 742, in uninstall paths_to_remove.remove(auto_confirm) File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove renames(path, new_path) File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 267, in renames shutil.move(old, new) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move copy2(src, real_dst) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2 copystat(src, dst) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat os.chflags(dst, st.st_flags) OSError: [Errno 1] Operation not permitted: '/tmp/pip-7UHxrP-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。