推荐学习书目
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
gladuo
V2EX  ›  Python

怎么打扫打扫 python 的依赖环境

  •  
  •   gladuo · Mar 12, 2016 · 3650 views
    This topic created in 3739 days ago, the information mentioned may be changed or developed.

    轻微强迫症。

    之前 pip 就在电脑上,也不 -U , virtualenv ,就是 sudo ,导致环境有点脏。
    求正确的清理环境重新开始的办法。

    python 2.7.10
    OS X 10.11

    7 replies    2016-03-13 00:19:16 +08:00
    irainy
        1
    irainy  
       Mar 12, 2016
    新项目全用 virtualenv
    loading
        2
    loading  
       Mar 12, 2016 via Android
    用 docker.
    windfarer
        3
    windfarer  
       Mar 12, 2016
    楼上两个方式都可以,我倾向于 virtualenv
    patrickstar
        4
    patrickstar  
       Mar 12, 2016
    python 环境用 virtualenv 吧,反正不要采用 pip 安装到全局去,否则可能麻烦事不断。
    关键看你需要用到哪些 package ,我现在用 Anaconda ,科学计算和数据处理、可视化等都整合好了的
    hardware
        5
    hardware  
       Mar 12, 2016
    比如 numpy 那些大玩意 折腾一次不方便啊 我还是手工管理了
    mintist
        6
    mintist  
       Mar 13, 2016
    用 Anaconda 省心,常用的库都有,没有的也可以用 pip 补充,而且跨三大平台,蛮不错的
    oska874
        7
    oska874  
       Mar 13, 2016
    anaconda+conda
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5484 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 65ms · UTC 08:00 · PVG 16:00 · LAX 01:00 · JFK 04:00
    ♥ Do have faith in what you're doing.