mypy-pycharm icon indicating copy to clipboard operation
mypy-pycharm copied to clipboard

Remote Interpreter

Open dimidd opened this issue 4 years ago • 3 comments

Step 1: Are you in the right place?

  • [x] I have verified there are no duplicate active or recent bugs, questions, or requests
  • [x] I have verified that I am using the latest version of the plugin.

Step 2: Describe your environment

  • Plugin version: 0.11.2
  • PyCharm/IDEA version: 2020.1.1
  • Mypy version: 0.782

Step 3: Describe the problem:

Steps to reproduce:

  1. Run 'Check current file'


Observed Results:

  • Error message:

No Python interpreter configured for this project The project is configured with a remote interpreter, but I have mypy installed locally

Expected Results:

  • mypy output

dimidd avatar Aug 04 '20 14:08 dimidd

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

  • Plugin version: 0.11.2
  • PyCharm/IDEA version: 2020.1.2
  • Mypy version: 0.782
  • Python version 3.8 in a docker container

Kimuth avatar Aug 22 '20 22:08 Kimuth

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"

Johnhersh avatar Nov 14 '23 12:11 Johnhersh

I would love to get this working.

jensenbox avatar Dec 20 '23 21:12 jensenbox