-
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
Not working on Arch Linux with pyenv #14
Comments
Are you starting lapce from within the virtual environment? If run |
I'm install pylsp on my system and test it in lapce with simple Finally, |
@superlou I'm getting this thing to work now, with a bit of manual labor
But it doesn't seem to work in system pip, that's not matter because every one work in |
@ppvan, right now, I think those steps are how I expect it to work if you have a non-system configuration in the venv. It does work on my Linux Mint and Windows 10 computers using the system |
Yeah, i think we need to modify lapce to have a chance to do it
Vào 18:25, Th 2, 17 thg 4, 2023 superlou ***@***.***> đã viết:
… @ppvan <https://github.com/ppvan>, right now, I think those steps are how
I expect it to work if you have a non-system configuration in the venv. It
does work on my Linux Mint and Windows 10 computers using the system
python3 environment. The plugin doesn't have any intelligence to detect
the presence of a venv, other than having Lapce started within the venv.
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQT6DULFUN6CMAO4XDSYRVLXBUSCNANCNFSM6AAAAAAW6X46FA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I can confirm it works on Arch Linux only when Lapce is started from the venv. I also tested installing the package from pipx, which puts pylsp on PATH and allows the command to work outside of the venv, but the language server still does not start in Lapce. Of course, supporting the pipx version wouldn't solve the issue of Lapce not supporting different interpreters, and the modules exclusively in the venv wouldn't have intellisense, but it would at least be an interim solution to point people to until it's updated. Having intellisense for just stock modules is still better than no intellisense at all. |
Are there other Lapce LSP plugins that work with venvs? Maybe we could get some inspiration from those. |
I'm using Arch Linux and pyenv? Maybe that's the problem?
Originally posted by @ppvan in #13 (comment)
The text was updated successfully, but these errors were encountered: