Sublime text3 failed to install package control
楷
2019-02-07 10:36:19
0
2
1398

Excuse me, is the method of installing package control for sublime text3 found online outdated:

https://www.jianshu.com/p/97d8281e7c08

sublime text3 Console installation method must use plug-ins

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = subli me.installed_packages_path( ); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' pf.replace(' ', ' ')).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)

After entering the above, it prompts "urllib.error.URLError: <urlopen error [ WinError 10060] The connection attempt failed because the connecting party did not reply properly after a period of time or the connected host was unresponsive.>"



##

楷

reply all(1)
韦小宝

This installation of package control also depends on the version. I looked at your address. It is 16 years old. It is too old. Try a newer one sooner.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template