装好sublimetext后,在线安装Packagecontrol包管理器不成功,control+`打开控制台,输入importurllib2,os;pf='PackageControl.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp)ifnotos.path.exists(ipp)elseNone;urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()));open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace('','%20')).read());print('PleaserestartSublimeTexttofinishinstallation')敲回车,重启后,还是没有安装上,试了好多遍~请问怎么回事?
哔哔one
相关分类