- Notifications
You must be signed in to change notification settings - Fork220
Setting custom pythonpath in a per project settings file#177
-
Hi all, sorry for asking here but I could not find the solution on jedi documentation neither on SO or pylsp docs. Is there a way to custom set my pythonpath only for certain projects? I can do it via venv but I don't know how to do it with a config file in order to use it with the global LSP server in my machine. Thanks. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 4 comments 4 replies
-
@rafaelleru, What to do you mean by certain projects? Do you want to run this pylsp on a custom python (other than the globally installed one)? |
BetaWas this translation helpful?Give feedback.
All reactions
-
@npradeep357 Is it actually be possible to run pylsp on a custom python ? |
BetaWas this translation helpful?Give feedback.
All reactions
-
What do you mean by custom python? Is it venv? or custom python intrepretor (like PyPy, IronPython)? |
BetaWas this translation helpful?Give feedback.
All reactions
-
But if you mean a custom python interpreter, then I haven't tested it. You need to give it a try and see. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Moving this to our new Discussions forum so you can keep talking about it there. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello. I was directed frommy issue to here for support. I have already resolved, butsharing it here in case it helps someone. My solution is to patch the Jedi interaction so it dynamically finds the venv associated with respective projects. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
Your script is a real brainteaser! But still thanks! |
BetaWas this translation helpful?Give feedback.
All reactions
-
I re-developed a Windows version script on yours. If anyone need,click here. |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #162 on March 22, 2022 15:04.