install python-pip

caifrjlt@md-hk-8 [~/pip-9.0.1]# python setup.py install
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
running install
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 30] Read-only file system: '/usr/lib/python2.6/site-packages/test-easy-install-278570.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/usr/lib/python2.6/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:

http://peak.telecommunity.com/EasyInstall.html

Please make the appropriate changes for your system and try again.

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 14,599评论 5 6
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,493评论 0 23
  • 记得与你相识在暑假学校组织的为期一个月伦敦交流项目,当时并没有注意到你,见面只是礼貌地问候一声,后来我们一行的小伙...
    神闲游阅读 2,118评论 0 0
  • 当我想写这段文字的时候,大脑突然一片空白,也不知道应该怎么写,要写什么,或者写什么好,但是我只有一个想法,那就是写...
    二省子阅读 1,558评论 0 0
  • 学习到这里,我发现我的macOS系统已经不够用了,又不想在自己的电脑上装Linux系统,所以是时候真正的搞个Lin...
    Miridescent阅读 4,104评论 1 4

友情链接更多精彩内容