免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3450 | 回复: 1
打印 上一主题 下一主题

可能是一个系统bug,大家注意一下! [复制链接]

论坛徽章:
1
水瓶座
日期:2014-03-20 18:21:14
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-23 14:30 |只看该作者 |倒序浏览
如果你从比较早期的10.5版本升级到最新的10.5.7
Python版本会从2.3跳跃升级到2.5
大部分情况都正常,但是有一处出现了链接错误
  1. macmini:~ zachary$ cd /System/Library/Frameworks/Python.framework/Versions/2.3
  2. macmini:2.3 zachary$ ls
  3. CodeResources   Extras          Python          Resources       lib
  4. macmini:2.3 zachary$ ls -l
  5. total 3896
  6. -rw-r--r--  1 root  wheel     1499 May 31  2008 CodeResources
  7. lrwxr-xr-x  1 root  wheel       13 Jan 14 20:37 Extras -> ../2.4/Extras
  8. -rwxr-xr-x  1 root  wheel  1984208 May 31  2008 Python
  9. drwxr-xr-x  5 root  wheel      170 May 31  2008 Resources
  10. drwxr-xr-x  3 root  wheel      102 May 31  2008 lib
复制代码

虽然Current链接已经指向2.5目录了,但是就怕哪个死心眼的程序就是去找2.3的路径,然后被指到不存在的2.4路径去了
还是改好了省心

  1. macmini:2.3 zachary$ sudo ln -Fs ../2.5/Extras Extras
  2. Password:
  3. macmini:2.3 zachary$ ls -l
  4. total 3896
  5. -rw-r--r--  1 root  wheel     1499 May 31  2008 CodeResources
  6. lrwxr-xr-x  1 root  wheel       13 May 23 14:29 Extras -> ../2.5/Extras
  7. -rwxr-xr-x  1 root  wheel  1984208 May 31  2008 Python
  8. drwxr-xr-x  5 root  wheel      170 May 31  2008 Resources
  9. drwxr-xr-x  3 root  wheel      102 May 31  2008 lib
复制代码

[ 本帖最后由 ecloud 于 2009-5-23 15:48 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-05-31 04:53 |只看该作者
我的10.5.6同样有这个问题.


  1. cd /System/Library/Frameworks/Python.framework/Versions/2.3
  2. sudo ln -fs ../2.5/Extras Extras
复制代码

[ 本帖最后由 tonyliu2ca 于 2009-5-31 04:56 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP