-1

I've been trying to install something by pip in macos, but there are always some errors. errors

And I know some tips like using 'sudo' to get rid of it. But how can I install without using 'sudo' ? Why did it happen actually?

faruk13
  • 1,276
  • 1
  • 16
  • 23
  • 2
    Please post the actual error code and not an image of the error code. – Vasilis G. Jan 25 '18 at 16:04
  • Possible duplicate of [pip install -r: OSError: \[Errno 13\] Permission denied](https://stackoverflow.com/questions/31512422/pip-install-r-oserror-errno-13-permission-denied) – phd Jan 25 '18 at 17:56

1 Answers1

0

This question is very similar to this thread ErrNo 13.

Error no. 13 mainly happens due to not having permissions to perform the task or the command executed at OS level.

You can try changing the folder structure from

/dir1/dir2

to

dir1/dir2

as suggested by user mjp in here.

Or you can use

sudo

to overcome this.

faruk13
  • 1,276
  • 1
  • 16
  • 23