推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
aliehuhu
V2EX  ›  Python

求大神教下,怎么在 centos6(64)下安装 python3.5.1 跟 beautifulsoup

  •  
  •   aliehuhu · Jan 9, 2016 · 3207 views
    This topic created in 3915 days ago, the information mentioned may be changed or developed.
    小白一个,详细点最好了,谢谢!
    6 replies  •  2016-01-09 23:01:28 +08:00
    raysonx
        1
    raysonx  
       Jan 9, 2016 via Android
    估計要自己編譯,或者上 docker
    est
        2
    est  
       Jan 9, 2016
    不要自己编译。上 miniconda/anaconda 。自带 virtualenv 呢。
    zhangyi2099
        3
    zhangyi2099  
       Jan 9, 2016 via iPhone
    pyenv
    BOYPT
        4
    BOYPT  
       Jan 9, 2016
    anaconda 几百 M ……

    其实选择了 centos 基本就是什么都自己编译了吧,虽然 ius 仓库有 python35 ,简单来说自己添加 ius 后直接 yum install 就好了
    just1
        5
    just1  
       Jan 9, 2016 via Android
    去官网下包
    tar zxvf *gz
    cd Python*
    ./configure
    make && make install
    大多数都是这样编译的
    feather12315
        6
    feather12315  
       Jan 9, 2016 via Android
    @just1 suse42 编译, readline 啥乱七八糟的问题都出来了。估计 RedHat 好不到哪里去。

    我今天刚刚编译好一个:
    在 docker 里面编译( apt 管理大赞,帮助文档好多,也有官方的 dockerfile 参考),在宿主机里面安装
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   876 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 21:49 · PVG 05:49 · LAX 14:49 · JFK 17:49
    ♥ Do have faith in what you're doing.