Replies: 2 comments
-
Helix just runs the language server as is. You need to configure the LSP (pylsp?) to pick up the env |
Beta Was this translation helpful? Give feedback.
0 replies
-
What I do is:
Helix just launches pylsp without any specified path, so when the virtual environment is activated it will launch the pylsp from that environment (similar to directly running pylsp in the terminal after the environment is activated). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When opening a python file, Helix marks the python imports with a red dot and says "[import-error] Unable to import 'requests'" for example.
It does this no matter if the virtual python environment is activated or not before opening Helix with the python file.
How do I get Helix to use a virtual environment in the same folder as the python code?
Beta Was this translation helpful? Give feedback.
All reactions