Sublime Forum

Can't install package control in any way

#1

Sublime text was hanging, so i uninstalled it.
Now when i reinstalled it, i can’t install package control, Not even manually by pasting the link in the console.
it keeps saying

When installing automatically it says:
Error installing Package Control: HTTPS error encountered, falling back to HTTP - <urlopen error [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions> Error installing Package Control: HTTP error encountered, giving up - <urlopen error [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions>

And when installing manually it says: `File “./python3.3/urllib/request.py”, line 1248, in do_open
File “./python3.3/http/client.py”, line 1065, in request
File “./python3.3/http/client.py”, line 1103, in _send_request
File “./python3.3/http/client.py”, line 1061, in endheaders
File “./python3.3/http/client.py”, line 906, in _send_output
File “./python3.3/http/client.py”, line 844, in send
File “./python3.3/http/client.py”, line 822, in connect
File “./python3.3/socket.py”, line 435, in create_connection
File “./python3.3/socket.py”, line 426, in create_connection
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 1, in
File “./python3.3/urllib/request.py”, line 156, in urlopen
File “./python3.3/urllib/request.py”, line 469, in open
File “./python3.3/urllib/request.py”, line 487, in _open
File “./python3.3/urllib/request.py”, line 447, in _call_chain
File “./python3.3/urllib/request.py”, line 1274, in http_open
File “./python3.3/urllib/request.py”, line 1251, in do_open
urllib.error.URLError: <urlopen error [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions>
`

0 Likes

#2

Seems like a firewall issue.
Try turning it off.

0 Likes

#3

Open your Packages folder (Menu: Preferences -> Browse Packages) and open command line on that folder and run the command:

git clone https://github.com/wbond/package_control "Package Control"

0 Likes

#4

Don’t run this command, unless you are okay with running untested-prerelease code. Even if you are okay with that, you need to clone it into a folder named Package Control.

The supported way to install PC, if the Python inside of Sublime Text can’t reach packagecontrol.io, is to follow the Manual instructions at https://packagecontrol.io/installation.

3 Likes

#5

I was in windows.
Terminal won’t have solved my problem.

0 Likes

#6

For running this command on the cmd prompt or powershell handles the problem, with no problems. But you need to have git available on your system path.

0 Likes