linux - Errno 13 when installing python package -
i'm pretty new programming , i've downloaded ubuntu onto laptop. problem i'm having when try install python package tabulate (https://pypi.python.org/pypi/tabulate) terminal displays error telling me don't have permission so.
kai@kai-hp-notebook:~$ pip install tabulate downloading/unpacking tabulate downloading tabulate-0.7.5.tar.gz running setup.py (path:/tmp/pip_build_kai/tabulate/setup.py) egg_info package tabulate installing collected packages: tabulate running setup.py install tabulate error: [errno 13] permission denied: '/usr/local/lib/python2.7/dist-packages/tabulate.py' complete output command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_kai/tabulate/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-if5xkf-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 tabulate.py -> build/lib.linux-x86_64-2.7 running install_lib copying build/lib.linux-x86_64-2.7/tabulate.py -> /usr/local/lib/python2.7/dist-packages error: [errno 13] permission denied: '/usr/local/lib/python2.7/dist-packages/tabulate.py' ---------------------------------------- cleaning up... command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_kai/tabulate/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-if5xkf-record/install-record.txt --single-version-externally-managed --compile failed error code 1 in /tmp/pip_build_kai/tabulate storing debug log failure in /home/kai/.pip/pip.log
what doing wrong? i'm sure quite easy problem around.
answered @jroddynamite: use
sudo pip install tabulate
Comments
Post a Comment