Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when installing Linter on VS code on Linux and Windows. #85973

Closed
zamunda mannequin opened this issue Sep 18, 2020 · 2 comments
Closed

Warnings when installing Linter on VS code on Linux and Windows. #85973

zamunda mannequin opened this issue Sep 18, 2020 · 2 comments
Labels
3.8 only security fixes topic-installation type-bug An unexpected behavior, bug, or error

Comments

@zamunda
Copy link
Mannequin

zamunda mannequin commented Sep 18, 2020

BPO 41807
Nosy @pfmoore, @ncoghlan, @ericvsmith, @tjguk, @zware, @zooba, @dstufft, @pradyunsg
Files
  • 93283029-5dfbc880-f7d8-11ea-8552-fa5ee1e1d924.png: Picture showing the Warning.
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-09-21.16:26:25.259>
    created_at = <Date 2020-09-18.00:40:16.557>
    labels = ['3.8', 'type-bug', 'expert-installation']
    title = 'Warnings when installing Linter on VS code on Linux and Windows.'
    updated_at = <Date 2020-09-21.16:26:25.258>
    user = 'https://bugs.python.org/zamunda'

    bugs.python.org fields:

    activity = <Date 2020-09-21.16:26:25.258>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-09-21.16:26:25.259>
    closer = 'steve.dower'
    components = ['Installation']
    creation = <Date 2020-09-18.00:40:16.557>
    creator = 'zamunda'
    dependencies = []
    files = ['49462']
    hgrepos = []
    issue_num = 41807
    keywords = []
    message_count = 2.0
    messages = ['377078', '377260']
    nosy_count = 11.0
    nosy_names = ['paul.moore', 'ncoghlan', 'eric.smith', 'tim.golden', 'zach.ware', 'steve.dower', 'dstufft', 'pradyunsg', 'Marcus.Smith', 'admin2', 'zamunda']
    pr_nums = []
    priority = 'normal'
    resolution = 'third party'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue41807'
    versions = ['Python 3.8']

    @zamunda
    Copy link
    Mannequin Author

    zamunda mannequin commented Sep 18, 2020

    nstalled VS code, installed Python extension and when it loaded a pop up showed "Linter is not available" or something like that. Press Install, choose linter or never show again options.
    Pressed Install - and it loaded the code to install it. It installed some stuff but there are errors about Path or something. See in the screenshot.
    I've never had such Warnings before.

    When I installed Python (on my system Windows) I put a checkmark on Add to Path, so it's not the problem.

    Then I moved to Linux hoping it will work better and without warnings. Same Warining there too.

    I guess there is a problem with python3-pip or something.

    @zamunda zamunda mannequin added 3.8 only security fixes topic-installation type-bug An unexpected behavior, bug, or error labels Sep 18, 2020
    @zooba
    Copy link
    Member

    zooba commented Sep 21, 2020

    This warning is coming from pip, and it's because it has detected that your system configuration doesn't match what many Python developers assume. Specifically, that you've configured PATH to include both Python and any package scripts you happen to install.

    We don't recommend adding these to PATH on Windows for your default install, so it's safe to ignore these warnings (provided you use a tool like VS Code or "python -m ..." to launch the scripts).

    However, if you need these for a particular environment, when you create a virtual environment and activate it, your current session settings will be updated to put them on PATH and you should not see this error.

    If you need further help, please visit the pip repository at https://github.com/PyPA/pip

    @zooba zooba closed this as completed Sep 21, 2020
    @zooba zooba closed this as completed Sep 21, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes topic-installation type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant