首先,讓我說我是Unix命令行的新手,所以如果有什麼聽起來天真的話,請原諒我。我在我的機器上安裝了點子,我試圖用它來安裝鼻子。我在我的下載文件夾中有一個鼻子zip文件,我試圖將它安裝到我的sitepackages目錄中,以便我可以開始將它用於單元測試。在終端中,我輸入pip安裝鼻子,得到你在下面看到的內容。任何想法這裏發生了什麼?我是否需要使用sudo或做鼻子zip文件需要由或許點子?放在另一個目錄被訪問......Pip沒有安裝鼻子包
Downloading/unpacking nose
Downloading nose-1.3.0.tar.gz (404kB): 404kB downloaded
Running setup.py egg_info for package nose
no previously-included directories found matching 'doc/.build'
Installing collected packages: nose
Running setup.py install for nose
error: could not create '/Library/Python/2.7/site-packages/nose': Permission denied
Complete output from command /usr/bin/python -c "import setuptools;__file__='/private/var/folders/yy/4vm2zy7j5_s32zv4rwdhn5500000gn/T/pip-build-mikaschiller/nose/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/yy/4vm2zy7j5_s32zv4rwdhn5500000gn/T/pip-YKue2u-record/install-record.txt --single-version-externally-managed:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/nose
copying nose/__init__.py -> build/lib/nose
copying nose/__main__.py -> build/lib/nose
copying nose/case.py -> build/lib/nose
copying nose/commands.py -> build/lib/nose
copying nose/config.py -> build/lib/nose
copying nose/core.py -> build/lib/nose
copying nose/exc.py -> build/lib/nose
copying nose/failure.py -> build/lib/nose
copying nose/importer.py -> build/lib/nose
copying nose/inspector.py -> build/lib/nose
copying nose/loader.py -> build/lib/nose
copying nose/proxy.py -> build/lib/nose
copying nose/pyversion.py -> build/lib/nose
copying nose/result.py -> build/lib/nose
copying nose/selector.py -> build/lib/nose
copying nose/suite.py -> build/lib/nose
copying nose/twistedtools.py -> build/lib/nose
copying nose/util.py -> build/lib/nose
creating build/lib/nose/ext
copying nose/ext/__init__.py -> build/lib/nose/ext
copying nose/ext/dtcompat.py -> build/lib/nose/ext
creating build/lib/nose/plugins
copying nose/plugins/__init__.py -> build/lib/nose/plugins
copying nose/plugins/allmodules.py -> build/lib/nose/plugins
copying nose/plugins/attrib.py -> build/lib/nose/plugins
copying nose/plugins/base.py -> build/lib/nose/plugins
copying nose/plugins/builtin.py -> build/lib/nose/plugins
copying nose/plugins/capture.py -> build/lib/nose/plugins
copying nose/plugins/collect.py -> build/lib/nose/plugins
copying nose/plugins/cover.py -> build/lib/nose/plugins
copying nose/plugins/debug.py -> build/lib/nose/plugins
copying nose/plugins/deprecated.py -> build/lib/nose/plugins
copying nose/plugins/doctests.py -> build/lib/nose/plugins
copying nose/plugins/errorclass.py -> build/lib/nose/plugins
copying nose/plugins/failuredetail.py -> build/lib/nose/plugins
copying nose/plugins/isolate.py -> build/lib/nose/plugins
copying nose/plugins/logcapture.py -> build/lib/nose/plugins
copying nose/plugins/manager.py -> build/lib/nose/plugins
copying nose/plugins/multiprocess.py -> build/lib/nose/plugins
copying nose/plugins/plugintest.py -> build/lib/nose/plugins
copying nose/plugins/prof.py -> build/lib/nose/plugins
copying nose/plugins/skip.py -> build/lib/nose/plugins
copying nose/plugins/testid.py -> build/lib/nose/plugins
copying nose/plugins/xunit.py -> build/lib/nose/plugins
creating build/lib/nose/sphinx
copying nose/sphinx/__init__.py -> build/lib/nose/sphinx
copying nose/sphinx/pluginopts.py -> build/lib/nose/sphinx
creating build/lib/nose/tools
copying nose/tools/__init__.py -> build/lib/nose/tools
copying nose/tools/nontrivial.py -> build/lib/nose/tools
copying nose/tools/trivial.py -> build/lib/nose/tools
copying nose/usage.txt -> build/lib/nose
running install_lib
creating /Library/Python/2.7/site-packages/nose
error: could not create '/Library/Python/2.7/site-packages/nose': Permission denied