Hi I am trying to install a library called Boris via PIP. This worked on my local machine but am getting errors when trying to do it my console. Are you able to help me?
00:20 ~/recharge (master)$ pip install boris
Collecting boris
Downloading Boris-0.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): lxml>=3.0.1 in /usr/local/lib/python2.7/dist-packages (from boris)
Collecting Postcodes>=0.1 (from boris)
Downloading Postcodes-0.1.tar.gz
Installing collected packages: Postcodes, boris
Running setup.py install for Postcodes
error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/postcodes.py'
Complete output from command /usr/local/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-fxWyS5/Postcodes/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-txkdVF-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying postcodes.py -> build/lib.linux-x86_64-2.7
running egg_info
writing Postcodes.egg-info/PKG-INFO
writing top-level names to Postcodes.egg-info/top_level.txt
writing dependency_links to Postcodes.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'Postcodes.egg-info/SOURCES.txt'
writing manifest file 'Postcodes.egg-info/SOURCES.txt'
running install_lib
copying build/lib.linux-x86_64-2.7/postcodes.py -> /usr/local/lib/python2.7/dist-packages
error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/postcodes.py'
----------------------------------------
Command "/usr/local/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-fxWyS5/Postcodes/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().re
place('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-txkdVF-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-bu
ild-fxWyS5/Postcodes
19:53 ~/recharge (master)$