Sublime Text 3无法通过包控件安装包

时间:2015-03-14 07:12:56

标签: sublimetext3

我在我的mac中安装ST3并安装了package控件。但是今天我想要运行" Package Control:Install Package"命令,ST3告诉我"没有可用于安装的软件包"。

以下是我的调试控制台信息:

Package Control: Fetching list of available packages
Platform: osx-x64
Sublime Text Version: 3065
Package Control Version: 3.0.1
Package Control: Download Debug
URL: https://packagecontrol.io/channel_v3.json
Resolved IPv6: 2600:3c02::f03c:91ff:fedf:6883
Resolved IP: 50.116.33.29
Timeout: 30
Package Control: Urllib Debug Proxy
http_proxy: 
https_proxy: 
proxy_username: 
proxy_password: 
Package Control: Found previously exported CA bundle at /Users/Morgan/Library/Application Support/Sublime Text 3/Packages/User/Package Control.system-ca-bundle
Package Control: Urllib HTTPS Debug General
Connecting to packagecontrol.io on port 443
Package Control: Urllib HTTPS Debug General
Connecting to packagecontrol.io on port 443
CA certs file at /Users/Morgan/Library/Application Support/Sublime Text 3/Packages/User/Package Control.merged-ca-bundle
Package Control: Error downloading channel. URL error _ssl.c:534: The handshake operation timed out downloading https://packagecontrol.io/channel_v3.json.
error: Package Control

There are no packages available for installation

我该如何解决这个问题?请

1 个答案:

答案 0 :(得分:0)

似乎你有一个代理,而Package Control还不知道它。按CMD + SHIFT + P,然后输入Preferences: Package Control Settings - User并添加http_proxy或/和https_proxy参数:

"http_proxy": "webproxy_address.com:3100",
"https_proxy": "webproxy_address.com:3100",

然后重新加载Sublime。我希望它有所帮助。