Skip to content

Problems installing ruff and sqlfluff #1823

Answered by Gentil-N
grifferz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @grifferz,
While using Lazyvim, I faced the same issue for ruff and solved it this way:

  1. Type :MasonInstall ruff
  2. Pull down the menu associated to ruff and look at the error message. For me, the package "virtual environment" was missing.
  3. Only for Ubuntu environments Enter in a terminal sudo apt install python3-venv
  4. Restart nvim and enter :MasonInstall ruff again.

Not sure if all the steps are necessary as I am a newbie in neovim but it worked. Good luck!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@grifferz
Comment options

Answer selected by grifferz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants