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
coderstudy
V2EX  ›  Python

python 2.7 升级 python2.7 报错何解 没权限?

  •  
  •   coderstudy · 2015-12-15 21:53:02 +08:00 · 2928 次点击
    这是一个创建于 3057 天前的主题,其中的信息可能已经有所发展或是发生改变。

    想替换掉系统的 2.7.5 版本为最新的 3.3.3 版本,于是在 mac 10.9 下安装了一个 python3.3.3 版本,

    sudo mv /Library/Frameworks/Python.framework/Versions/3.5 /System/Library/Frameworks/Python.framework/Versions

    提示 mv: rename /Library/Frameworks/Python.framework/Versions/3.3 to /System/Library/Frameworks/Python.framework/Versions/3.5: Operation not permitted

    何解

    6 条回复    2015-12-16 10:25:54 +08:00
    sivacohan
        1
    sivacohan  
       2015-12-15 23:56:24 +08:00 via Android
    得亏失败了。
    你这是花样作死。
    系统的 Python 不要乱动,多个版本共存就好了。
    有需要改自己的.bashrc
    msg7086
        2
    msg7086  
       2015-12-16 03:50:35 +08:00
    替换系统 Python ……你想系统崩坏么。这俩东西又不兼容,怎么能替换。
    coderstudy
        3
    coderstudy  
    OP
       2015-12-16 09:37:40 +08:00
    @sivacohan 什么意思啊? 我没动系统的 python 的 我是下载 3.5 的 python 然后把他移动到系统默认的 2.7 那个文件中,
    coderstudy
        4
    coderstudy  
    OP
       2015-12-16 09:38:04 +08:00
    @msg7086 不太明白什么意思
    mkeith
        5
    mkeith  
       2015-12-16 10:13:58 +08:00
    你把 3.5 的移到 2.7 的文件夹干什么啊
    MrZephyrus
        6
    MrZephyrus  
       2015-12-16 10:25:54 +08:00
    正如楼上所说,可以多个版本共存,为何要替换。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3377 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:12 · PVG 19:12 · LAX 04:12 · JFK 07:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.