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?
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?
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.