In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
The editor will share with you how to solve the problem of package control errors in sublime. I hope you will gain a lot after reading this article. Let's discuss it together.
There is an error in the package control of sublime and needs to be updated.
Recently, I received an outsourcing and tried to use Baidu fis. When I was looking for tools while studying, I found that there was an error in sublime's package control request plug-in list. Ctrl+ `looked at it and found that the original list address could no longer request content, so it went wrong.
As long as the update can be solved, ctrl+ `and then enter the following content, wait for the installation to restart sublime text!
Sublime-text 3import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' +' e330c659d4bb41d3bdf022e94cab3cd022; 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://sublime.wbond.net/' + 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) sublime-text 2import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' +' e330c659d4bb41d3bdf022e94cab3cd0; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path (); os.makedirs (ipp) if not os.path.exists (ipp) else None Urllib2.install_opener (urllib2.build_opener (urllib2.ProxyHandler (); by = urllib2.urlopen ('http://sublime.wbond.net/' + pf.replace ('','% 20')). Read (); dh = hashlib.sha256 (by). Hexdigest (); open (os.path.join (ipp, pf), 'wb') .write (by) if dh = = h else None Print ('Error validating download (got% s instead of% s), please try manual install'% (dh, h) if dh! = h else' Please restart Sublime Text to finish installation') after reading this article, I believe you have some understanding of how to solve the problem of package control errors in sublime. Want to know more about it, welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.