3

我试图在强制退出后重新打开崇高。我按照说明将 sublime 恢复到较早的状态,但我没有数据文件夹,因此在尝试卸载时,我删除并永久删除了其中包含 sublime 的所有内容。除了通过“还原”页面上的说明之外,还有什么方法可以卸载 sublime?或者更改我的 python 版本,以便 sublime 开始工作?

我还查找了其他“找不到合适的图像”错误,似乎架构可能是一个问题(我最近使用自制软件更新了 python,我在 Lion,所以可能是 32/64 位问题?)我也尝试重新安装最新版本的python。

我在打开时收到的错误报告打印在下面。

Process: Sublime Text 2 [1088]
Path: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Identifier: com.sublimetext.2
Version: Version 2.0.1, Build 2217 (2217)
Code Type: X86-64 (Native)
Parent Process: launchd [210]

Date/Time: 2012-08-13 23:42:36.059 -0400
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9

Interval Since Last Report: 755530 sec
Crashes Since Last Report: 31
Per-App Crashes Since Last Report: 7
Anonymous UUID: 48A0DEC5-738E-472E-A106-15F5341FFA5B

Crashed Thread: 0

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.6/Python
Referenced from: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Reason: no suitable image found. Did find:
/System/Library/Frameworks/Python.framework/Versions/2.6/Python: stat() failed with errno=13
/Library/Frameworks/Python.framework/Versions/2.6/Python: no matching architecture in universal wrapper
/System/Library/Frameworks/Python.framework/Versions/2.6/Python: stat() failed with errno=13

Binary Images:
0x10f292000 - 0x10f842fef +com.sublimetext.2 (Version 2.0.1, Build 2217 - 2217) <EFE756CA-FF0C-3EEB-BA80-309F00040A5D> /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
0x7fff6ee92000 - 0x7fff6eec6baf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
0x7fff89f86000 - 0x7fff89f86fff com.apple.Carbon (153 - 153) <895C2BF2-1666-3A59-A669-311B1F4F368B> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff9349a000 - 0x7fff9349afff com.apple.Cocoa (6.6 - ???) <021D4214-9C23-3CD8-AFB2-F331697A4508> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa

Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f96
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.198.4.20)
Bluetooth: Version 4.0.5f11, 2 service, 11 devices, 4 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Hitachi HTS545032B9A302, 320.07 GB
Serial ATA Device: OPTIARC DVD RW AD-5970H
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 4
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

提前致谢

更新

所以事实证明我需要更改 python sublime 的目标版本。为此,我遵循了 Mac OS X 10.7.4 上的 Sublimetext2 安装

4

1 回答 1

4

也许你已经删除了 python 2.6 或 Python.framework。

因此,您可以安装 Python。

如果您从源代码安装 python,请传递启用框架参数

./configure --enable-framework=/Users/ronald/Library/Frameworks 

如果仍然提示错误,则可能是 Python 版本问题。

cd /Library/Frameworks/Python.framework/Versions/
sudo mv 2.6 2.6-backup`
sudo ln -s 2.7 2.6

以上代码可以在 2.6 和 2.7 之间进行软链接共享 Python 版本。

然后问题解决了。

这个对我有用 。

于 2013-01-23T06:20:40.357 回答