Skip to content

pylint not found even so it's in path from where VSCode was launched #709

@michaelaye

Description

@michaelaye

Environment data

VS Code version: 1.19.3
Python Extension version: 2018.1.0
Python Version: Python 3.6.4 | packaged by conda-forge | (default, Dec 23 2017, 16:54:01)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
OS and version: macOS 10.12.6

Actual behavior

Opening a Python repo for the first time, I get pop-up that pylint is not installed.

Expected behavior

pylint is in the path where I launched vscode, it should find it:
(stable) └─❱❱❱ which pylint +7540 12:53 ❰─┘
/Users/klay6683/miniconda3/envs/stable/bin/pylint

Steps to reproduce:

  • Open a folder with a Python package

Logs

Output from Python output panel

##########Linting Output - pylint##########

Linter 'pylint' is not installed. Please install it or select another linter".
Error: Module 'pylint' not installed.

Note, I also noticed that in the terminal that I can open my conda env is not activated, even after typing conda activate stable in there.
Is that maybe a problem with the new conda 4.4.x, which changed for conda to be a script instead of a python executable?
screenshot 2018-02-05 13 31 40
(yes, I'm running zsh, but everything works in my iTerm2 terminal).

Output from Console window (Help->Developer Tools menu)
screenshot 2018-02-05 13 23 31

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions