sublime text3 安装不了插件,如图,怎么解决
要怎么解决
要怎么解决
2016-02-02
我也遇到过这个问题,应该是你的packageControl的版本低了或者出错了,卸载掉packageControl,再重新安装一次,建议去官网复制代码输入控制台(ctrl+`)安装:
https://packagecontrol.io/installation
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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)
举报