LoginSignup
0
3

More than 5 years have passed since last update.

pipenv+pylint利用時のunable to importへの対応

Posted at

vscode+pylint+pipenvt利用時に遭遇したのでメモ。

下記のように.envファイルでpythonのパスを変更すればよい。

PYTHONPATH=./backend

仮想環境内にpylintが入っていなければpylintも追加する必要がある。

参考
https://github.com/Microsoft/vscode-python/issues/1990

0
3
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
3