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

On Windows allow pylint to use pylint installed in WSL

Open ashwinkapur opened this issue 4 years ago • 5 comments

Is your feature request related to a problem? Please describe. I use this plugin on IntelliJ and Pycharm under Windows. My python interpreter and virtual environments are all on WSL, a linux environment that runs under Windows 10. This plugin (and the mypy plugin cannot use a pylint installed in WSL. I give it the right path but I get an error that it cannot execute.

Describe the solution you'd like Enable the use of pylint installed under WSL when running in Windows (and ideally using a remote interpreter)

Describe alternatives you've considered

  1. Install python 3.8.1 on windows, the windows version of pipx and then pylint.exe in windows using pipx. This sort of works but then pylint cannot find the packages I'm using in each project. So I have to manually activate the virtual environment pipx has created for pylint and then install the packages I need under that.

  2. 1 is no better than creating a windows based virtual environment and installing pylint in that so I'm not doing this. I basically create a linux virtual environment under WSL and a regular Windows virtual environment only for pylint and mypy. Still not great because there are some python packages that I use that cannot be installed under Windows and pylint (and mypy) will complain due to them being missing.

Additional context Ideally you would come up with a general solution that will work with remote python interpreters. Basically I would like to be able to install pylint (and mypy) under a python interpreter on a remote machine and have this plugin use that pylint and mypy when I'm working with a python interpreter on a remote machine.

ashwinkapur avatar Feb 02 '20 20:02 ashwinkapur

And thank you for a great plugin.

ashwinkapur avatar Feb 02 '20 20:02 ashwinkapur

Was about to create this issue myself, this is definitely something that would be helpful.

maspe36 avatar Feb 06 '20 19:02 maspe36

This issue has been automatically marked as stale because it has not had activity in the last 60 days.

stale[bot] avatar Apr 07 '20 05:04 stale[bot]

Something new about this?

crisfcodes avatar Jun 12 '20 06:06 crisfcodes

No Python interpreter configured for the project.

when I use a Python interpreter installed in my WSL Ubuntu.

benoit-dubreuil avatar Jun 08 '22 14:06 benoit-dubreuil

I need this feature too )

mnogokotin avatar Mar 22 '23 12:03 mnogokotin

'+

Xoma163 avatar May 12 '23 08:05 Xoma163