Permission denied: '/Library/Python/2.7/site-packages/pync/vendor' #1
Comments
Seems like you don't have permission to the Python folder. Try |
Yeah, but is there any other way? I don't think it's good to change ownership of a folder which is available systemwide. There is a possibility that other apps might misbehave. |
|
Hi Please can someone help - I am also getting the same error: Exception: I've also tried: sudo chown -R $USER /Library/Python/2.7/site-packages/pync but don't think it has fixed it. I am now getting this: /Library/Python/2.7/site-packages/pync: No such file or directory |
Looks like you don't have |
Its fixed, thanks! |
Thanks from here too! |
Thanks x3!! |
@sindresorhus how can I restore from 'sudo chown -R $USER /Library/Python/2.7' ? thanks |
Hi! Exception: |
@Avnikaur it seems to be a permissions error, can you try to run the command again with |
OSError: [Errno 13] Permission denied: '/usr/Python2.7/os.py' Can anyone help with this ? Thankyou in advance |
@shreyamittal17 you get this error when you run |
In case it might still help anyone (sorry if it's just noise), I was having these permission problems a-go-go, until I ran I considered. I deleted. All was well. |
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main The above error was obtained when I tried an installation. Came here through google. Tried using this after reading the above comments sudo chown -R $USER /usr/local/lib/python2.7/dist-packages/geopy Which gave me an error of no such file or directory. Can anyone help me out! Thankyou in advance. |
@pranaikumar have you tried to run your command with |
@thiagopnts Yes I did use a sudo my exact command line was sudo chown -R $USER /usr/local/lib/python2.7/dist-packages/geopy |
@pranaikumar I mean for the installation, which command did you run? Try running it with |
@thiagopnts I just used sudo and this is what I got as an error Downloading/unpacking geopy==1.11.0 (from -r requirements.txt (line 1)) Iam actually installing it from a file in my own computer that I downloaded through git and extracted. The exact command was |
Looks like you're trying to install something else, not pync(which this thread is about). Your error now says it can't find the lib listed in the requirements.txt file |
@thiagopnts |
I get this error when I type in the command: "chown: sudo: illegal user name" |
once i met the same problem,the code was pip install fuzzywuzzy,then i plus sudo in the front,it turns ok. |
Dear all, I tried the commands suggested above (
Could please somebody help me!? PS: I get the same error while trying to install libraries like |
@thiagopnts |
guys this is only for |
I get following error when I load script.
I am running weechat latest version.
Weechat is installed through brew -
brew install weechat
Pync is installed through pip -
sudo pip install pync
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/2.7/site-packages/pync/__init__.py", line 3, in <module> from TerminalNotifier import Notifier File "/Library/Python/2.7/site-packages/pync/TerminalNotifier.py", line 117, in <module> Notifier = TerminalNotifier() File "/Library/Python/2.7/site-packages/pync/TerminalNotifier.py", line 24, in __init__ self.download_app() File "/Library/Python/2.7/site-packages/pync/TerminalNotifier.py", line 46, in download_app shutil.move(os.path.join(path_to_folder, "terminal-notifier.app"), self.app_path) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 295, in move copytree(src, real_dst, symlinks=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 174, in copytree os.makedirs(dst) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode)OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pync/vendor'
The text was updated successfully, but these errors were encountered: