sublimelsp / LSP-vue

Vue support for Sublime's LSP plugin
MIT License
29 stars 3 forks source link

Error:No module named 'LSP' #71

Closed jingyuexing closed 4 years ago

jingyuexing commented 4 years ago

Traceback (most recent call last): File "D:\sublime_text_3211\sublime_plugin.py", line 125, in reload_plugin m = importlib.import_module(modulename) File "./python3.3/importlib/init.py", line 90, in import_module File "", line 1584, in _gcd_import File "", line 1565, in _find_and_load File "", line 1532, in _find_and_load_unlocked File "D:\sublime_text_3211\sublime_plugin.py", line 1199, in load_module exec(compile(source, source_path, 'exec'), mod.dict) File "D:\sublime_text_3211\Data\Installed Packages\LSP-vue.sublime-package\plugin.py", line 3, in File "D:\SUBLIM~2\Data\Packages\LSP_UT~1\st3\lsp_utils__init__.py", line 11, in from .npm_client_handler import NpmClientHandler File "D:\SUBLIM~2\Data\Packages\LSP_UT~1\st3\lsp_utils\npm_client_handler.py", line 3, in from LSP.plugin.core.handlers import LanguageHandler ImportError: No module named 'LSP'

jingyuexing commented 4 years ago

Traceback (most recent call last): File "D:\sublime_text_3211\sublime_plugin.py", line 298, in on_api_ready plc() File "D:\sublime_text_3211\Data\Installed Packages\LSP-vue.sublime-package\plugin.py", line 7, in plugin_loaded LspVuePlugin.setup() File "D:\SUBLIM~2\Data\Packages\LSP_UT~1\st3\lsp_utils\npm_client_handler.py", line 64, in setup cls.__server.setup() File "D:\SUBLIM~2\Data\Packages\LSP_UT~1\st3\lsp_utils\server_npm_resource.py", line 70, in setup self._copy_to_cache() File "D:\SUBLIM~2\Data\Packages\LSP_UT~1\st3\lsp_utils\server_npm_resource.py", line 94, in _copy_to_cache ResourcePath(src_path).copytree(cache_server_path, exist_ok=True) File "D:\SUBLIM~2\Data\Packages\SUBLIM~3\st3\sublime_lib\resource_path.py", line 605, in copytree for resource in self.rglob('*'): File "D:\SUBLIM~2\Data\Packages\SUBLIM~3\st3\sublime_lib\resource_path.py", line 545, in rglob return self.glob('**/' + pattern) File "D:\SUBLIM~2\Data\Packages\SUBLIM~3\st3\sublime_lib\resource_path.py", line 532, in glob return ResourcePath.glob_resources(base + pattern) File "D:\SUBLIM~2\Data\Packages\SUBLIM~3\st3\sublime_lib\resource_path.py", line 199, in glob_resources cls(path) for path in sublime.find_resources('') File "D:\SUBLIM~2\Data\Packages\SUBLIM~3\st3\sublime_lib\resource_path.py", line 200, in if match(path) File "D:\SUBLIM~2\Data\Packages\SUBLIM~3\st3\sublime_lib_util\glob.py", line 42, in return lambda s: (expr.search(s) is not None)

rchl commented 4 years ago

Read installation instructions please https://github.com/sublimelsp/LSP-vue#installation