Troubleshoot issues that sublime cannot install software

Source: Internet
Author: User

For specific reference: http://lostingz.github.io/sublime_channel/

1. Open sublime,ctrl+shift+p Open Window Input: Package Control:add Channel

Enter the channel for sublime to download the channel JSON path for this page: https://raw.githubusercontent.com/lostingz/sublime_channel/gh-pages/ Channel_v3.json

2.ctrl+shift+p Input Install Select package Control Install wait and enter or select the software to install

Note: If you specify the channel JSON path and the version of the schema is incorrect (schema is not a valid number) uninstall the original package control plug-in, reinstall the new version

To uninstall the specified plug-in method:
  1. Choose the Preferences > settings–user
  2. Remove the "package Control" entry from "Ignored_packages" (if there is a delete, no matter what)
  3. Select Preferences > Browse Packages (Explore package) ...
  4. Remove the package Control folder
  5. Return to the previous level to installed Packages folder
  6. Delete the package control.sublime-package file (if there is a delete, no matter what)
  7. Reinstall the Package Control

    Installation method One:

    Sublime Text3:

    ImportUrllib2,os,hashlib; h ='2915d1851351e5ee549c20394736b442'+'8bc59f460fa1548d1514676163dafc88'; PF ='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP)if  notOs.path.exists (IPP)ElseNone; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); by = Urllib2.urlopen ('http://packagecontrol.io/'+ Pf.replace (' ','%20'). read (); DH = hashlib.sha256 (by). Hexdigest (); Open (Os.path.join (IPP, PF),'WB'). Write (by)ifDH = = hElseNone;Print('Error validating download (got%s instead of%s), please try manual install'% (DH, h)ifDH! = hElse 'Restart Sublime Text to finish installation')

    Sublime Text2:

    ImportUrllib2,os,hashlib; h ='2915d1851351e5ee549c20394736b442'+'8bc59f460fa1548d1514676163dafc88'; PF ='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP)if  notOs.path.exists (IPP)ElseNone; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); by = Urllib2.urlopen ('http://packagecontrol.io/'+ Pf.replace (' ','%20'). read (); DH = hashlib.sha256 (by). Hexdigest (); Open (Os.path.join (IPP, PF),'WB'). Write (by)ifDH = = hElseNone;Print('Error validating download (got%s instead of%s), please try manual install'% (DH, h)ifDH! = hElse 'Restart Sublime Text to finish installation')

    Installation Method Two:
      1. Click the Preferences > Browse Packages ... menu
      2. Browse up a folder and then into the installed packages/ folder
      3. Download Package control.sublime-package and copy it into the installed packages/ directory
      4. Restart Sublime Text

Troubleshoot issues that sublime cannot install software

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.