search

Home  >  Q&A  >  body text

Installing plug-ins keeps getting errors

按照要求复制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(' ', ' ')).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)安装以后显示Error validating download (got 6f4c264a24d933ce70df5dedcf1dcaeeebe013ee18cced0ef93d5f746d80ef60 instead of 2915d1851351e5ee549c20394736b4428bc59f460fa1548d1514676163dafc88), please try manual install

手机用户072710536手机用户0727105361635 days ago1651

reply all(1)I'll reply

  • 灭绝师太

    灭绝师太2020-11-10 10:56:43

    Change vs code

    reply
    0
  • Cancelreply