mypy-PyCharm-plugin icon indicating copy to clipboard operation
mypy-PyCharm-plugin copied to clipboard

How to use with a remote virtual environment (vagrant)?

Open codekiln opened this issue 5 years ago • 2 comments
trafficstars

PyCharm has the ability to set up a remote interpreter in Vagrant. I have this configured for my main project, but am getting "/bin/bash: dmypy: command not found" when I try to run MyPy.

I have tried right clicking the MyPy terminal and selecting Configure Plugin, and adding the full path to the mypy binary inside of vagrant instance. This results in command not found as explained above.

Does this plugin currently do any introspection into the project to see if the project's interpreter resides on another filesystem?

codekiln avatar Nov 26 '19 17:11 codekiln

Remote virtual environments are unfortunately not yet supported (and may be non-trivial to add). Thanks for request anyway, we may add this at some point (also PRs welcome).

ilevkivskyi avatar Nov 26 '19 18:11 ilevkivskyi

It looks like a similar problem also exists with docker, see https://github.com/dropbox/mypy-PyCharm-plugin/issues/54

ilevkivskyi avatar May 11 '20 19:05 ilevkivskyi