Closed adderall-prozac closed 6 years ago
I'm not a maintainer of this repo but I believe I can help.
As the error message says, copying the file docopt.py
from build/lib/docopt.py
to /usr/lib/python2.7/site-packages/docopt.py
has failed. This is because the account with which you executed the installation command doesn't have the write permission on /usr/lib/python2.7/site-packages
. This issue is not specific to Grip package.
I don't know well of your system and I'm not sure which approach is the best to address the issue. But here are common solutions.
/usr/lib/python2.7/site-packages
. e.g. sudo -u [another_user_who_has_the_permission] pip install grip
sudo
, use venv, Pipenv or something to install Python packages under your user home directory.In most cases, b) is better, I believe.
I hope this helps.
Thanks for jumping in, @gh640 😃
I'm going to close this since a) and b) from above are both very good approaches. #146 might be the same issue you're seeing. If you feel uncomfortable using sudo
, try opening an issue with pip about that behavior.
Hi guys, Weird I didn't get notified by this.
Thanks I just used sudo instead and it worked. This does seem to be closer to a pip issue than a grip issue.
I hope I get a grip on this. (Apologies for the bad pun)
Glad to hear you solved it 😃
Ran the pip command on Terminal and got this for an error
Is there another way to install? is there something wrong with the docopt.py file?