Skip to content

permission denied with pip install #1

@vaiana

Description

@vaiana

I'm trying to install the python PHAT bindings inside of an Anaconda environment and it fails with a permission denied error.

pip install .
Processing /home/michael/repos/phat
Requirement already satisfied: pybind11 in /home/michael/miniconda3/envs/keras/lib/python3.6/site-
packages (from phat==1.5.0)
Installing collected packages: phat
   Running setup.py install for phat ... error
    Complete output from command /home/michael/miniconda3/envs/keras/bin/python -u -c "import 
setuptools, tokenize;__file__='/tmp/pip-6kkmu9x7-build/setup.py';f=getattr(tokenize, 'open', open)
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --
record /tmp/pip-00niyajw-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
running build_ext
error: [Errno 13] Permission denied: '/home/michael/.local/lib/python3.6'

----------------------------------------
Command "/home/michael/miniconda3/envs/keras/bin/python -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-6kkmu9x7-build/setup.py';f=getattr(tokenize, 'open', open)
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --
record /tmp/pip-00niyajw-record/install-record.txt --single-version-externally-managed --compile" failed 
with error code 1 in /tmp/pip-6kkmu9x7-build/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions