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
On Ubuntu16.04, I worked with Python3 in vscode and
apt-get install python3-pip
solves my problem.
That's because I discover that: Under my terminal, I type the pip -V
. It displays it's for Python2, not for Python3.
I had the same problem today, none of the solutions helped me. Eventually, I figured it out myself.
I'm posting this answer for people who are having this problem. Just go to your ./venv folder and you will find a .cfg file.
Just make sure include-system-site-packages is set to true
home = /usr/bin
include-system-site-packages = true
version = 3.8.5
If it still doesn't work, just run sudo install python-3 pip
once in the terminal.