Skip to content

IntelliSense and formatting not working on a fresh install #276

@upkarlidder

Description

@upkarlidder

Environment data

VS Code version: 1.18.1
Python Extension version: 0.8.0
Python Version: 3.6.1
OS and version: macOS Sierra 10.12.6

Actual behavior

I just installed vscode and the python extension. I don't get any auto completion or auto formatting. I have the following in my settings.json

{
    "python.pythonPath": "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3"
}

Expected behavior

Expect to see autocompletion and autosuggestion when I type os. after import os.

Steps to reproduce:

  • install vs code on osx

  • install python extension

  • IntelliSense not working

  • I also tried Python: Select Interpreter. I get command 'python.setInterpreter' not found.

Logs

Output from Console window (Help->Developer Tools menu)

shell.ts:459 [ms-python.python] spawn ENOTDIR: Error: spawn ENOTDIR
	at exports._errnoException (util.js:1050:11)
	at ChildProcess.spawn (internal/child_process.js:319:11)
	at exports.spawn (child_process.js:390:9)
	at Object.exports.execFile (child_process.js:155:15)
	at Object.module.(anonymous function) [as execFile] (ELECTRON_ASAR.js:200:20)
	at Promise (/Users/upkar/.vscode/extensions/ms-python.python-0.8.0/out/client/interpreter/locators/services/condaEnvService.js:90:35)
	at Promise (<anonymous>)
	at CondaEnvService.<anonymous> (/Users/upkar/.vscode/extensions/ms-python.python-0.8.0/out/client/interpreter/locators/services/condaEnvService.js:88:24)
	at Generator.next (<anonymous>)
	at /Users/upkar/.vscode/extensions/ms-python.python-0.8.0/out/client/interpreter/locators/services/condaEnvService.js:7:71

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions