Skip to content
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

Error while installing in Neovim using Mason #49

Open
Trid-collab opened this issue Sep 6, 2023 · 5 comments
Open

Error while installing in Neovim using Mason #49

Trid-collab opened this issue Sep 6, 2023 · 5 comments

Comments

@Trid-collab
Copy link

I am using Neovim nightly with Mason to install pylyzer and I am getting the following error:

image

Could you please direct if I am missing anything here

@mtshiba
Copy link
Owner

mtshiba commented Sep 6, 2023

Mason uses cargo (Rust's package manager) to build/install pylyzer.
Is cargo installed on your PC?

@Trid-collab
Copy link
Author

Thank you. Got it working. Had to install rust. But it's tedious process. I don't know and use rust. Yet I had to install it for this application which I found takes space and is pretty resource intensive to install. Was wondering why is that packages like ruff or broot don't require installing rust it's so much easy to install.

@burgr033
Copy link

burgr033 commented Sep 7, 2023

@Trid-collab it's because ruff is written in python and you probably had python installed already.

@Trid-collab
Copy link
Author

@Trid-collab it's because ruff is written in python and you probably had python installed already.

The ruff docs say the following though:
An extremely fast Python linter, written in Rust.

@mtshiba
Copy link
Owner

mtshiba commented Sep 8, 2023

Actually, pylyzer can be installed from pip, but mason seems to use the cargo method. I am not a maintainer of mason, so I cannot fix this issue.

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

No branches or pull requests

3 participants