Skip to content

Conversation

salustiana
Copy link

Fixes the import error preventing the lsp to run (at least on neovim):

[ERROR][2025-03-19 14:10:49] .../vim/lsp/rpc.lua:770 "rpc" "vyper-lsp" "stderr" " File \"/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper_lsp/main.py\", line 33, in <module>\n from vyper_lsp.handlers.signatures import SignatureHandler\n File \"/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper_lsp/handlers/signatures.py\", line 14, in <module>\n from vyper_lsp.ast import AST\n File \"/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper_lsp/ast.py\", line 12, in <module>\n from vyper.utils import VyperException\nImportError: cannot import name 'VyperException' from 'vyper.utils' (/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper/utils.py)\n"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant