mypy-pycharm
mypy-pycharm copied to clipboard
Remote Interpreter
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:
- 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
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
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:
So when I press Test it just says "Failure: executable "" not found"
Running Mypy in the terminal inside the docker image works:
I tried settings the same path in the Mypy configuration:
But it just says the same as above, only with that path "Failure: executable "/usr/local/bin/mypy" not found"
I would love to get this working.