Remote python libraries with Sublime Text 3

I am working with a virtual machine via Vagrant and would like my ST3 to recognize the libraries python

installed on the virtual machine (not on my host). With that, I could use ST3 plugins like autocomplete or lint, according to the libraries I actually use in the VM, not the ones installed on my computer (host).

I read this thread but I don't think this is the same problem we are facing here because it is not a translator's question, I think the problem is which path is used to find libraries. The problem is the same if we look at the virtual environments under the project root.

+3


source to share


1 answer


Yes it is possible through some plugins. For example, the sublime text anaconda plugin can do this via a project file setting. I believe the same can be done for REPLs by pointing your project python_interpreter_path

to a remote interpreter via ssh, although I have not tried it personally.



+1


source







All Articles