0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

visualstudio 2019 で、pylintが動作しない

Last updated at Posted at 2020-07-08

vs2019に、python開発環境をセットアップして
pylintを実行したところ、次のようなエラーで
動作しない。

No module named pylint.lint.main; 'pylint.lint' is a package and cannot be directly executed

そこで、
power shell から
py -m pip list
で、確認するとpylintのバージョンが2.5.3だった。

py -m pip uninstall pylint
として、一旦パッケージを削除し
py -m pip install 'pylint==2.4.4'
で、他の環境で動いているバージョンを
指定して再インストールした。

無事にpylintが実行出来た。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?