foouu
V2EX  ›  问与答

centos6.5 更新 python 遇到的问题

  •  
  •   foouu · Jun 13, 2014 · 3898 views
    This topic created in 4380 days ago, the information mentioned may be changed or developed.
    centos6.5自带 2.6.6 我想更新成 2.7.7
    然后wget 下载,编译,安装,改链接之后出现了问题。
    python -V 看是 2.7了。
    但easy_install pip 的时候提示:
    Traceback (most recent call last):
    File "/usr/bin/easy_install", line 5, in <module>
    from pkg_resources import load_entry_point
    ImportError: No module named pkg_resources
    搜了一圈都没解决,谁能讲下解决办法。
    2 replies    2014-06-13 19:50:00 +08:00
    hector
        1
    hector  
       Jun 13, 2014 via Android
    下easy install安装包重装
    zjgood
        2
    zjgood  
       Jun 13, 2014
    CentOS里的python2.6就是一个坑啊。我就是因为把2.6换成2.7之后各种不服才迁移到了Ubuntu
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4134 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 00:57 · PVG 08:57 · LAX 17:57 · JFK 20:57
    ♥ Do have faith in what you're doing.