I\'m trying to run the autopep8 linter on a Python file in VSCode.
I\'ve followed the instructions here: https://code.visualstudio.com/docs/python/environments and selec
I have multiple python versions:
2.7
3.6
3.7
press the following (Show All Commands): Ctrl + Shift + P
paste the following: Python: Select Interpreter
Select one of the version that it shows, I have selected python 3.7.3 64-bit
press Ctrl + , to open Settings
search for python.pythonPath
change python to /usr/bin/python3.7
Note: this may not be needed, however, make sure /usr/bin/python3.7 really exists for you, you may have at a different path like /usr/local/bin/python3.7, etc.
Run the following command in Terminal: apt-get install python3-pip
With the above steps, all issues got resolved. Hope that helps.