依照要求複製import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' '8bc59f460fa1548d1514676163dafc88'; pf = '套件控制.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(' ', ' ')).read(); dh = hashlib.sha256(by).hexdigest(); print('驗證下載時發生錯誤(得到%s 而不是%s),請嘗試手動安裝' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb ' ).write(by)安裝以後顯示驗證下載時發生錯誤(得到 6f4c264a24d933ce70df5dedcf1dcaeeebe013ee18cced0ef93d5f746d80ef60 而不是 2915d1851351e5051351e505496415451 46761 63dafc88),請嘗試手動安裝
換vs code