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.

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,667評(píng)論 5 6
  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 11,179評(píng)論 0 23
  • 記得與你相識(shí)在暑假學(xué)校組織的為期一個(gè)月倫敦交流項(xiàng)目,當(dāng)時(shí)并沒有注意到你,見面只是禮貌地問候一聲,后來我們一行的小伙...
    神閑游閱讀 333評(píng)論 0 0
  • 當(dāng)我想寫這段文字的時(shí)候,大腦突然一片空白,也不知道應(yīng)該怎么寫,要寫什么,或者寫什么好,但是我只有一個(gè)想法,那就是寫...
    二省子閱讀 235評(píng)論 0 0
  • 學(xué)習(xí)到這里,我發(fā)現(xiàn)我的macOS系統(tǒng)已經(jīng)不夠用了,又不想在自己的電腦上裝Linux系統(tǒng),所以是時(shí)候真正的搞個(gè)Lin...
    Miridescent閱讀 845評(píng)論 1 4

友情鏈接更多精彩內(nèi)容