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

Cannot run Program under Windows #10

Closed stschroe closed 4 years ago

stschroe commented 6 years ago

A Plugin Exeption was raised after hitting the Run button: Cannot run program "/bin/bash" (in directory "...my project directory..."): \dev\null (The system cannot find the specified path.)

My System: Windows 7 PyCharm Professional 2018.1 Python 3.6 (Anaconda)

ilevkivskyi commented 6 years ago

Unfortunately, this is a known limitation. Also mypy daemon itself doesn't work on Windows yet. Windows support is definitely planned, but it is hard to give any estimates.

Cito commented 6 years ago

Would be nice if this could be solved. One problem is that MypyRunner.java has hardcoded /bin/bash and /dev/null paths which do not exist under Windows. The mypy daemon issue is here: https://github.com/python/mypy/issues/5019

Ricyteach commented 5 years ago

another pycharm on windows user looking forward to this enhancement.

chandimsett commented 5 years ago

Please add Windows support as we are looking forward for static-typing checking in Pycharm IDE in Windows OS.

ilevkivskyi commented 5 years ago

The was some progress with supporting Windows in mypy daemon, as soon as the mypy PR will land I will update paths here to be platform specific.