Title: Cannot execute the python process in Debug when changing the working directory · Issue #195 · microsoft/vscode-python · GitHub
Open Graph Title: Cannot execute the python process in Debug when changing the working directory · Issue #195 · microsoft/vscode-python
X Title: Cannot execute the python process in Debug when changing the working directory · Issue #195 · microsoft/vscode-python
Description: From Alexey (@alexmolodchikov) on October 5, 2017 3:3 Environment data VS Code version: 1.16.1 Python Extension version: 0.7.0 Python Version: 3.6.2 OS and version: macOS High Sierra 10.13 Actual behavior Error: spawn /Users/aamolodc/clo...
Open Graph Description: From Alexey (@alexmolodchikov) on October 5, 2017 3:3 Environment data VS Code version: 1.16.1 Python Extension version: 0.7.0 Python Version: 3.6.2 OS and version: macOS High Sierra 10.13 Actual b...
X Description: From Alexey (@alexmolodchikov) on October 5, 2017 3:3 Environment data VS Code version: 1.16.1 Python Extension version: 0.7.0 Python Version: 3.6.2 OS and version: macOS High Sierra 10.13 Actual b...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/195
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot execute the python process in Debug when changing the working directory","articleBody":"_From @alexmolodchikov on October 5, 2017 3:3_\n\n## Environment data\r\nVS Code version: 1.16.1\r\nPython Extension version: 0.7.0\r\nPython Version: 3.6.2\r\nOS and version: macOS High Sierra 10.13\r\n\r\n## Actual behavior\r\n\r\nError: spawn /Users/aamolodc/cloudtrek/the-dentist/env/bin/python ENOENT\r\nFailed to launch the Python process, please validate the path\r\n\"cwd\": \"/Users/aamolodc/cloudtrek/the-dentist/the-dentist/\"\r\n\r\n## Expected behavior\r\n\r\nExecution of the Python process.\r\n(\r\nruns normally when working directory is set to:\r\n\"cwd\": \"/Users/aamolodc/cloudtrek/the-dentist/\"\r\n)\r\n\r\n## Steps to reproduce: \r\n\r\npythonPath seems to have no effect somehow?\r\n\r\nset launch.json to this:\r\n\r\n```\r\n {\r\n \"name\": \"IDP-Web-Interface\",\r\n \"type\": \"python\",\r\n \"request\": \"launch\",\r\n \"stopOnEntry\": true,\r\n \"pythonPath\": \"${config:python.pythonPath}\",\r\n \"program\": \"/Users/aamolodc/cloudtrek/the-dentist/the_dentist/run_web.py\",\r\n \"cwd\": \"/Users/aamolodc/cloudtrek/the-dentist/the-dentist/\",\r\n \"args\": [\r\n \"--config\" , \"the_dentist/config.yml\"\r\n ],\r\n \"env\": {\r\n \"PYTHONUNBUFFERED\":\"1\", \r\n \"PYTHONPATH\": \"/Users/aamolodc/cloudtrek/the-dentist/the-dentist\"\r\n },\r\n \"debugOptions\": [\r\n \"WaitOnAbnormalExit\",\r\n \"WaitOnNormalExit\",\r\n \"RedirectOutput\"\r\n ]\r\n },\r\n```\r\n\r\n\r\n## Logs\r\nOutput from ```Python``` output panel \r\n\r\n`Error: spawn /Users/aamolodc/cloudtrek/the-dentist/env/bin/python ENOENT\r\n`\r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n\r\n```\r\n/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28 Failed to launch the Python Process, please validate the path '/Users/aamolodc/cloudtrek/the-dentist/env/bin/python'\r\n\r\n | e.doShow | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n-- | -- | -- | --\r\n | e.show | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | (anonymous) | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29\r\n | v | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | enter | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | _run | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | _chainedError | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | n | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | then | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | enter | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | _run | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | _setCompleteValue | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | v | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | enter | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | _run | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | _error | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | (anonymous) | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | e.dispatch | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | e.handleData | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | (anonymous) | @ | /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:28\r\n | emitOne | @ | events.js:96\r\n | emit | @ | events.js:191\r\n | readableAddChunk | @ | _stream_readable.js:178\r\n | Readable.push | @ | _stream_readable.js:136\r\n | onread | @ | net.js:560\r\n```\r\n\r\n\n\n_Copied from original issue: DonJayamanne/pythonVSCode#1274_","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2017-11-14T16:48:36Z","url":"https://github.com/microsoft/vscode-python/issues/195"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f06d4d6-185e-33f6-d92a-788f6f6690ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DABE:2E90F1:ADB76:EBBDD:6AFE439B |
| html-safe-nonce | 5541fd687c88e8038fd6b8ea22c2f71f6d1a91919d643df6fd1df04ed5d3bf66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUJFOjJFOTBGMTpBREI3NjpFQkJERDo2QUZFNDM5QiIsInZpc2l0b3JfaWQiOiI4MjM4MDA1Njk5NDEwMjgxMzcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f33ed07f15c7337869817e760c7b5a41d16d89c756ff6309c560a737e2a40939 |
| hovercard-subject-tag | issue:273863650 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/195/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b3ad74348e253e343991cd3ce10637df5736dfd59167d3052428e209a5c401ab/microsoft/vscode-python/issues/195 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3ad74348e253e343991cd3ce10637df5736dfd59167d3052428e209a5c401ab/microsoft/vscode-python/issues/195 |
| og:image:alt | From Alexey (@alexmolodchikov) on October 5, 2017 3:3 Environment data VS Code version: 1.16.1 Python Extension version: 0.7.0 Python Version: 3.6.2 OS and version: macOS High Sierra 10.13 Actual b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonJayamanne |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ce393ea11ad276623b946bc9663d3e7d6f564275 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width