VSCode: There is no Pip installer available in the selected environment

前端 未结 14 1961
耶瑟儿~
耶瑟儿~ 2021-01-29 23:19

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

14条回答
  •  滥情空心
    2021-01-30 00:08

    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.

提交回复
热议问题