leinardi / mypy-pycharm

A plugin providing both real-time and on-demand scanning of Python files with Mypy from within PyCharm/IDEA.
Apache License 2.0
194 stars 31 forks source link

Remote Interpreter #63

Open dimidd opened 4 years ago

dimidd commented 4 years ago

Step 1: Are you in the right place?

Step 2: Describe your environment

Step 3: Describe the problem:

Steps to reproduce:

  1. Run 'Check current file'


Observed Results:

Expected Results:

Kimuth commented 4 years ago

Same result here, I got a docker interpreter. Tried with a local mypy, (can't specify the mypy in docker), but the plugin complain about No Python interpreter configured for the project.
This #55 issue is related, but does not report the exact same error message.

28 is also related, but also reports a different error message (perhaps because of older version).

@gaqzi has a hacky workaround from one year ago, I have not tried it. https://github.com/leinardi/mypy-pycharm/issues/28#issuecomment-524012403

52 is probably not related, but worth a mention.

Environment

Johnhersh commented 10 months ago

I'm having the exact same issue. Running Mypy says "No Python interpreter configured for the project."

Looking in the Mypy configuration it's empty: image

So when I press Test it just says "Failure: executable "" not found"

Running Mypy in the terminal inside the docker image works: image

I tried settings the same path in the Mypy configuration: image

But it just says the same as above, only with that path "Failure: executable "/usr/local/bin/mypy" not found"

jensenbox commented 9 months ago

I would love to get this working.