Fix SUBLIMETEXT3 Unable to install plug-in problem-there is no packages available for installation
There is no packages available for installation error
Today when installing the SUBLIMETEXT3 plugin encountered an error, pop up a dialog box saying that there is no package available for installation, the content is there is no packages available for installation, dialog boxes such as:
In fact, I use the Win7 system, I encountered an error, the above image is found on the network (should be intercepted from Ubuntu), but the content is the same.
After Google search, in StackOverflow questions and answers to find a solution, details can refer to here: http://stackoverflow.com/questions/25105139/ Sublime-text-2-there-are-no-packages-available-for-installation, the solution is what the answer to this question has been adopted is described.
This is said to be the cause of IPv6, if our intent service provider (ISP) does not support IPV6 will cause the above error, the original text is as follows:
This error was happened with IPv6 problem. If your Internet Service Provider (ISP) does not the support for IPv6 you got this error.
Workaround (Windows platform)
The solution given in the above link is as follows:
Step 1:
Get IPv4 Address of sublime.wbond.net
Try This command line on terminalping sublime.wbond.net
Now you can get IPv4 address of sublime.wbond.net.
Step 2:
Now open hosts file from C:\Windows\system32\drivers\etc\
folder and add this line (replcae {IPv4 address})
{IPv4 address} sublime.wbond.net
.
All are OK. Let's play with the package controller.
From the above description you can know the first need to obtain the IPV4 address of the Sublime.wbond.net website, and then modify the Hosts file on the line.
If you encounter the following error when you use the ping command at the terminal
can go here (Online ping tool) to search its IP address: http://serve.netsh.org/pub/ping.php
Then modify the Hosts file to add a row in the Hosts file, where the IP is the ping command, as shown below:
[Plain]View Plaincopy
- 50.116.34.243 sublime.wbond.net
Go through the steps above, and then ctrl+shift+p Open the package control:install to install the plugin.
Package Control
As for the package Control plug-in installation, you can refer to here: https://sublime.wbond.net/installation
The first of these methods
Open the Console (Ctrl + ' shortcut ' or View > Show Console menu) and enter the following code:
[Plain]View Plaincopy
- import urllib.request,os,hashlib; h = ' 7183a2d3e96f11eeadd761d777e62404 ' + ' E330c659d4bb41d3bdf022e94cab3cd0 '; 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 (' ', '%20 '). 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)
The second method of
Manually download the plug-in package: Https://sublime.wbond.net/Package%20Control.sublime-package, copy to%sumlimetext_home%\data\installed Packages path, restart Sublimetext on the line.
Fix SUBLIMETEXT3 Unable to install plug-in issues-there is no packages available for installation