[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-1433.pth'
2016-01-09 09:40
716 查看
python setup.py install
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-1433.pth'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Library/Python/2.7/site-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://pythonhosted.org/setuptools/easy_install.html
Please make the appropriate changes for your system and try again.
--->>>解决:sudo python setup.py install
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-1433.pth'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Library/Python/2.7/site-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://pythonhosted.org/setuptools/easy_install.html
Please make the appropriate changes for your system and try again.
--->>>解决:sudo python setup.py install
相关文章推荐
- python定时下载FTP指定文件
- 星球大战与 Python 之间的那些事
- python join(), bool(), strip(), dict()
- Python学习-使用matplotlib画动态多图
- 学习了初级的Python
- [俄勒冈大学]养成Python写作习惯
- Python—模块
- python中带星号/一个星号/两个星号的参数
- Python/C API 实用函数(部分)
- python之三层菜单递归
- Python 过滤字符串的技巧,map与itertools.imap
- Python设计模式之抽象工厂模式
- 介绍Python中的文档测试模块
- Python爬虫工程师面试问题总结
- python之super的使用小结
- python设计模式大全
- Python爬虫代理IP池实现方法
- Python实现OpenCV的安装与使用示例
- 关于python的list相关知识(推荐)
- 星球大战与Python之间的那些事