Livid
286.33D
538.81D

Raspbian 的 python-pip 包的依赖不太科学

  •  
  •   Livid ·
    PRO
    · Jun 25, 2015 · 5502 views
    This topic created in 4000 days ago, the information mentioned may be changed or developed.

    系统自带的默认 python 版本是 2.7.3

    python -V
    Python 2.7.3
    

    但是当安装 python-pip 时,却提示需要安装 2.6:

    apt-get install python-pip
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      python-pkg-resources python-setuptools python2.6 python2.6-minimal
    Suggested packages:
      python-distribute python-distribute-doc python2.6-doc binfmt-support
    Recommended packages:
      python-dev-all
    The following NEW packages will be installed:
      python-pip python-pkg-resources python-setuptools python2.6
      python2.6-minimal
    0 upgraded, 5 newly installed, 0 to remove and 11 not upgraded.
    Need to get 561 kB/4,475 kB of archives.
    After this operation, 14.5 MB of additional disk space will be used.
    Do you want to continue [Y/n]?
    

    所以我用了这样的方法:

    wget https://bootstrap.pypa.io/ez_setup.py -O - | python
    easy_install pip
    
    2 replies    2015-07-20 14:53:04 +08:00
    LazyZhu
        1
    LazyZhu  
       Jun 25, 2015
    Nevervoid
        2
    Nevervoid  
       Jul 20, 2015
    上海电信表示还要给树莓派做翻墙……好蛋疼。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2848 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 08:24 · PVG 16:24 · LAX 01:24 · JFK 04:24
    ♥ Do have faith in what you're doing.