sublimeText3
官網(wǎng):packagecontrol.io (被墻)
手動搬運:
- 啟動控制臺
ctrl + `
或
View > Show Console
- 執(zhí)行安裝腳本
import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
官方亦有離線安裝方案
- Click the Preferences > Browse Packages… menu
- Browse up a folder and then into the Installed Packages/
folder - Download Package Control.sublime-package
and copy it into the Installed Packages/
directory - Restart Sublime Text
附:
我提供的下載鏡像: http://pan.baidu.com/s/1i5p1obz
革命尚未成功
即使包管理工具安裝好了魄缚,安裝其他包的時候娱俺,依然會困難重重,
解決方案參考: