Sublime Text 3:there are no packages available for installation解决方法

The culmination of this occurs in the initial install Sublime Text 3 when using the install package features the following error

windows system applicable

 
windows system

The root causes of problems may be many, but the following two steps to cover most issues, pro-test is useful.

1. Intent Service Provider (ISP) does not support IPv6 will lead to the above error

stackoverflow上的原文:This error is happened with IPv6 problem. If your Internet Service Provider (ISP) does not support for IPv6 you got this error.

(Original link: http://stackoverflow.com/questions/25105139/sublime-text-2-there-are-no-packages-available-for-installation )

Solution:

1.WIN + R type cmd command line window open;

2. Enter the ping command line window

sublime.wbond.net, get an ip address. As shown for the ip address word part yellow

 

 
 

3. Turn the machine C: \ Windows \ system32 \ drivers \ host file in the etc directory

In the last new line, which reads as follows:

50.116.34.243       sublime.wbond.net  

Enter, save.

(Modify host files require administrator privileges, if not modified in the directory, you can copy the modified directly on the desktop to change coverage under another directory, and can be determined using administrator privileges)

2.package control unavailable

1. Remove the old package control file

    a. Open the sublime text3, select menu Preferences-> Browse Packages ... open the installation directory

    Package Control folder selected directory and delete

 

 
 

2. Download and replace Package Contro package:

Download the official website: https://sublime.wbond.net/Package%20Control.sublime- Package Penalty for

Network disk download: link: https: //pan.baidu.com/s/1U8yDd1EWn2160Zaa-WOgeg Password: unnj

Decompression, modify the folder named: Package Control, and put under the same directory as the figure above, opens sublime text3, select menu Preferences-> Browse Packages ... open the installation directory.

End

At this time, use the shortcut Ctrl + Shift + P, enter install, select the install package, what you want to install plug-ins, you can search for the name on the inside



Author: I not laugh I
link: https: //www.jianshu.com/p/fb313b7afd74
Source: Jane book
Jane book copyright reserved by the authors, are reproduced in any form, please contact the author to obtain authorization and indicate the source.

Guess you like

Origin www.cnblogs.com/bwdblogs/p/11289935.html