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

前端 未结 14 1954
耶瑟儿~
耶瑟儿~ 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-29 23:44

    On Ubuntu:

    Make sure, that you have Python and pip installed.

    Go to Settings, type python.py in search input. This should find Python Path settings.

    Remove this path (if it is currently setted), save. Exit Code and set this to current value.

    For me is /usr/bin/python3

提交回复
热议问题