-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: ϵͳҲָ·
in install_or_update
#17
Comments
Exception: ϵͳҲָ·
in install_or_update
What's your LSP, ST and OS version? |
I use ST4 in win11 |
What happens if you run |
python -m venv : it show venv: error: the following arguments are required: ENV_DIR python -m venv . : it create a environment. |
Can you check if there is an error in the LSP Log Panel? You can open the panel by executing the command |
Is it means that " tools -> lsp -> Toggle Log Panel " ? |
@rchl Do you have an idea? |
It seams the wrong with lsp. the lsp can,t find path of pip or python in the msys2 . The lsp search "pip" in the path like "Scripts" ,but msys2 haven,t that path. Can we set the ruff-lsp path in the config? |
We can probably adjust the logic so that it works with msys2 also. Maybe instead of checking platform just check for existence of the directory.
I think you might be able to override |
// Settings in here override those in "LSP-ruff/LSP-ruff.sublime-settings" { I set the config like this. It also show the error |
More like this probably |
is it fixed? |
No and I won't be looking into it myself. I would suggest using native python instead of msysgit. |
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2023-04-11 09:58:44, next run at 2023-04-11 10:58:44 or after
Unable to start subprocess for LSP-ruff
Traceback (most recent call last):
File "D:\sublime_text\Data\Installed Packages\LSP.sublime-package\plugin/core/windows.py", line 241, in start_async
plugin_class.install_or_update()
File "D:\sublime_text\Data\Packages\lsp_utils\st3\lsp_utils_client_handler\abstract_plugin.py", line 109, in install_or_update
server.install_or_update()
File "D:\sublime_text\Data\Packages\lsp_utils\st3\lsp_utils\server_pip_resource.py", line 100, in install_or_update
self.run(self.pip_binary(), 'install', '-r', dest_requirements_txt_path, '--disable-pip-version-check')
File "D:\sublime_text\Data\Packages\lsp_utils\st3\lsp_utils\server_pip_resource.py", line 35, in run
raise Exception(error)
Exception: ϵͳҲָ·
The text was updated successfully, but these errors were encountered: