autoflake icon indicating copy to clipboard operation
autoflake copied to clipboard

Extension Autoflake not found in VSCode + WSL:Ubuntu

Open dylanw-oss opened this issue 3 years ago • 1 comments

I installed Autoflake in VS code on Windows machine. (WSL: Ubuntu)

It shows "Extension is enabled on 'WSL: Ubuntu'"

  1. Open a .py file
  2. Ctrl+Shift+P, select command "Autoflake: Remove Unused Imports" Got error: /bin/sh: 1: autoflake: not found

dylanw-oss avatar Jan 26 '22 19:01 dylanw-oss

sudo pip3 install autoflake

smomop avatar Apr 13 '22 09:04 smomop