From 5d18e3b78bcaec6a74dd50387f0aa1fd8dc41e1b Mon Sep 17 00:00:00 2001 From: jimmoffet Date: Tue, 6 Sep 2022 16:45:44 -0700 Subject: [PATCH] modify pythonpath in devcontainer config --- devcontainer-api/.devcontainer.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/devcontainer-api/.devcontainer.json b/devcontainer-api/.devcontainer.json index 265b505ff..89cc0a87b 100644 --- a/devcontainer-api/.devcontainer.json +++ b/devcontainer-api/.devcontainer.json @@ -13,8 +13,11 @@ }, "python.linting.enabled": true, "python.linting.pylintEnabled": true, - "python.pythonPath": "/usr/local/bin/python", - "python.linting.pylintPath": "/usr/local/share/pip-global/bin/pylint" + "python.defaultInterpreterPath": "/usr/bin/python3", + "python.linting.pylintPath": "/usr/local/share/pip-global/bin/pylint", + "python.analysis.extraPaths": [ + "/home/vscode/.local/lib/python3.9/site-packages" + ] }, "features": { "docker-from-docker": {