sublime text3插件问题

sublime text3插件问题

DPI mode: per-monitor

startup, version: 3176 windows x64 channel: stable

executable: /C/Program Files/Sublime Text 3/sublime_text.exe

working dir: /E/so/慕课/less/less实战案例源码/source-dev/less

packages path: /C/Users/Administrator/AppData/Roaming/Sublime Text 3/Packages

state path: /C/Users/Administrator/AppData/Roaming/Sublime Text 3/Local

zip path: /C/Program Files/Sublime Text 3/Packages

zip path: /C/Users/Administrator/AppData/Roaming/Sublime Text 3/Installed Packages

ignored_packages: ["Vintage"]

pre session restore time: 1.00986

startup time: 1.04986

first paint time: 1.05986

reloading plugin Default.arithmetic

reloading plugin Default.auto_indent_tag

reloading plugin Default.block

reloading plugin Default.colors

reloading plugin Default.comment

reloading plugin Default.convert_color_scheme

reloading plugin Default.convert_syntax

reloading plugin Default.copy_path

reloading plugin Default.delete_word

reloading plugin Default.detect_indentation

reloading plugin Default.duplicate_line

reloading plugin Default.echo

reloading plugin Default.exec

reloading plugin Default.fold

reloading plugin Default.font

reloading plugin Default.goto_line

reloading plugin Default.history_list

reloading plugin Default.indentation

reloading plugin Default.install_package_control

reloading plugin Default.kill_ring

reloading plugin Default.mark

reloading plugin Default.new_templates

reloading plugin Default.open_context_url

reloading plugin Default.open_in_browser

reloading plugin Default.pane

reloading plugin Default.paragraph

reloading plugin Default.paste_from_history

reloading plugin Default.profile

reloading plugin Default.quick_panel

reloading plugin Default.rename

reloading plugin Default.run_syntax_tests

reloading plugin Default.save_on_focus_lost

reloading plugin Default.scroll

reloading plugin Default.set_unsaved_view_name

reloading plugin Default.settings

reloading plugin Default.show_scope_name

reloading plugin Default.side_bar

reloading plugin Default.sort

reloading plugin Default.swap_line

reloading plugin Default.switch_file

reloading plugin Default.symbol

reloading plugin Default.transform

reloading plugin Default.transpose

reloading plugin Default.trim_trailing_white_space

reloading plugin Default.ui

reloading plugin CSS.css_completions

reloading plugin Diff.diff

reloading plugin HTML.encode_html_entities

reloading plugin HTML.html_completions

reloading plugin ShellScript.ShellScript

plugins loaded

Error installing Package Control: HTTPS error encountered, falling back to HTTP - <urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。>

Error installing Package Control: HTTP error encountered, giving up - <urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。>

error: An error occurred installing Package Control


Please check the Console for details


Visit https://packagecontrol.io/installation for manual instructions

>>> 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://sublime.wbond.net/' + 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)

Traceback (most recent call last):

  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

TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "<string>", line 1, in <module>

  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 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。>

为什么我的插件装不了?Ctrl+`   粘贴以下代码:

import  urllib.request,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));open(os.path.join(ipp,pf),'wb').write(urllib.request.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

1回答
Miss路 2019-02-28 09:40:15

同学,你好。

sublime最近官网出了点问题,有可能在安装插件的时候出问题,不过没关系,插件不安装完全影响不到我们学习编程,并且有很多前端编辑器都可以代替sublime使用,都是一样的好用,前端的工具安装使用都很简单,比如webstorm、vscode、Hbuilder等,都是很好用的工具。我们没有必要花太多的心思在代码编辑器上,把重心放在编程本身的学习上哦。

如果帮助到了你,欢迎采纳!

祝学习愉快!

问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
响应式开发与常用框架 2018
  • 参与学习           人
  • 提交作业       2198    份
  • 解答问题       5012    个

如果你有web端基础,既想进阶,又想进军移动端开发,那就来吧,我们专题为你带来的课程有HTML5、CSS3、移动基础、响应式、bootstrap、less等,让你在前端道路上畅通无阻!

了解课程
请稍等 ...
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师