V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Dec 15, 2015 · 3738 views
    This topic created in 3791 days ago, the information mentioned may be changed or developed.

    想替换掉系统的 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 replies    2015-12-16 10:25:54 +08:00
    sivacohan
        1
    sivacohan  
    PRO
       Dec 15, 2015 via Android
    得亏失败了。
    你这是花样作死。
    系统的 Python 不要乱动,多个版本共存就好了。
    有需要改自己的.bashrc
    msg7086
        2
    msg7086  
       Dec 16, 2015
    替换系统 Python ……你想系统崩坏么。这俩东西又不兼容,怎么能替换。
    coderstudy
        3
    coderstudy  
    OP
       Dec 16, 2015
    @sivacohan 什么意思啊? 我没动系统的 python 的 我是下载 3.5 的 python 然后把他移动到系统默认的 2.7 那个文件中,
    coderstudy
        4
    coderstudy  
    OP
       Dec 16, 2015
    @msg7086 不太明白什么意思
    mkeith
        5
    mkeith  
       Dec 16, 2015
    你把 3.5 的移到 2.7 的文件夹干什么啊
    MrZephyrus
        6
    MrZephyrus  
       Dec 16, 2015
    正如楼上所说,可以多个版本共存,为何要替换。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   753 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 20:55 · PVG 04:55 · LAX 13:55 · JFK 16:55
    ♥ Do have faith in what you're doing.