dropbox / mypy-PyCharm-plugin

A simple plugin that allows running mypy from PyCharm and navigate between errors
Apache License 2.0
313 stars 14 forks source link

'dmypy' is not recognized as an internal or external command, operable program or batch file. #47

Closed mozesa closed 4 years ago

mozesa commented 4 years ago

Hello,

I would like to ask for your kind support.

My problem is that: 'dmypy' is not recognized as an internal or external command, operable program or batch file.

I have Windows10 and Python 3.8, PyCharm with mypy-PyCharm-plugin installed from Marketplace.

dmypy

Thanks for your help in advance.

ilevkivskyi commented 4 years ago

I think you just need to configure your PATH suffix as explained in README

mozesa commented 4 years ago

I have done but it didn't help.

Interesting because it works from PyCharm local Terminal. (venv) C:\Users\mozesa\PycharmProjects\V316-Production-Line>mypy C:\Users\mozesa\PycharmProjects\V316-Production-Line\v316_production_line\codereader\handheld.py

dmypy2

ilevkivskyi commented 4 years ago

That's wrong path, as mentioned there, it should be the Scripts directory of your project virtual environment, in your case probably C:\...\V316-Production-Line\venv\Scripts.

mozesa commented 4 years ago

Ohh, Thanks. Now it works like a charm.