pipを利用してScrapyというフレームワークをインストールしようと試みたのですが、ディレクトリが作成できないといった旨のエラーが発生してしまいます。
初歩的な質問で申し訳ございませんが解決法ご存知の方お願いします。
OS X
Python2.7.10
pip6.1.1
root権限なし
コマンド:pip install Scrapy
エラー:
error: could not create '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cssselect': Permission denied
Command "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize;file='/private/var/folders/nx/shl94qgs273ct34v53m4wtg80000gp/T/pip-build-GZlQIu/cssselect/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/nx/shl94qgs273ct34v53m4wtg80000gp/T/pip-agXu7p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/nx/shl94qgs273ct34v53m4wtg80000gp/T/pip-build-GZlQIu/cssselect
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。