V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
dadodo
V2EX  ›  Python

mac上怎么卸载python

  •  
  •   dadodo · 2011-05-20 14:17:04 +08:00 · 15842 次点击
    这是一个创建于 4696 天前的主题,其中的信息可能已经有所发展或是发生改变。
    原来装了python2.7后来又装了python3.2,本以为他会自动覆盖掉,但是它没有。请问怎么把python2.7彻底删除,谢谢。
    12 条回复    1970-01-01 08:00:00 +08:00
    TheOnly92
        1
    TheOnly92  
       2011-05-20 14:29:01 +08:00
    可以用 python_select 选择你要的版本
    napoleonu
        2
    napoleonu  
       2011-05-20 14:45:59 +08:00
    linux/unix 都只要 rm 就完成卸载了
    limon
        3
    limon  
       2011-05-20 15:14:39 +08:00
    你确定用不到2.7了咩
    dadodo
        4
    dadodo  
    OP
       2011-05-20 16:16:25 +08:00
    @napoleonu @TheOnly92 谢谢。

    @limon 因为买了python学习手册4。按着书上教的来所以还是用3.2咯
    dadodo
        5
    dadodo  
    OP
       2011-05-20 16:24:43 +08:00
    刚才在Terminal下输入了rm -rf /usr 一阵冷汗,太刺激了。。。
    还好Permission denied,再也不乱来了
    lepture
        6
    lepture  
       2011-05-20 22:43:10 +08:00
    你确定不需要python2.7 ?

    你电脑上有很多软件可是要依赖它的。
    seerhut
        7
    seerhut  
       2011-05-20 22:52:04 +08:00
    最好不去删除,多个python版本共存没问题的
    dadodo
        8
    dadodo  
    OP
       2011-05-20 23:02:09 +08:00
    @lepture 我不知道哇...
    tioover
        9
    tioover  
       2011-05-29 01:34:05 +08:00
    删除了以后运行程序很杯具的,很多都不支持3
    walleve
        10
    walleve  
       2011-05-29 01:58:39 +08:00
    2.7不要删除..不要酿成悲剧
    freefcw
        11
    freefcw  
       2011-05-29 02:36:37 +08:00
    我一直都在用2.x,没有太多必要迁移到3.x的
    istef
        12
    istef  
       2011-05-29 04:41:32 +08:00
    卸载掉保证你悲剧。。。python3跟 python 2 还是有共存的必要的,如果你在用 python 3 的话。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1737 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:38 · PVG 00:38 · LAX 09:38 · JFK 12:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.