Title: Warning about system python in MacOS but correctly uses virtualenv · Issue #804 · microsoft/vscode-python · GitHub
Open Graph Title: Warning about system python in MacOS but correctly uses virtualenv · Issue #804 · microsoft/vscode-python
X Title: Warning about system python in MacOS but correctly uses virtualenv · Issue #804 · microsoft/vscode-python
Description: Environment data VS Code version: 1.20.1 Python Extension version: 2018.1.0 Python Version: 3.5.4 and 2.7.10 OS and version: MacOS 10.13.3 Actual behavior VSCode shows a warning: "Selected interpreter is macOS system python which is not ...
Open Graph Description: Environment data VS Code version: 1.20.1 Python Extension version: 2018.1.0 Python Version: 3.5.4 and 2.7.10 OS and version: MacOS 10.13.3 Actual behavior VSCode shows a warning: "Selected interpre...
X Description: Environment data VS Code version: 1.20.1 Python Extension version: 2018.1.0 Python Version: 3.5.4 and 2.7.10 OS and version: MacOS 10.13.3 Actual behavior VSCode shows a warning: "Selected int...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/804
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Warning about system python in MacOS but correctly uses virtualenv","articleBody":"## Environment data\r\nVS Code version: 1.20.1\r\nPython Extension version: 2018.1.0\r\nPython Version: 3.5.4 and 2.7.10\r\nOS and version: MacOS 10.13.3\r\n\r\n## Actual behavior\r\n\r\nVSCode shows a warning: \"Selected interpreter is macOS system python which is not recommended. Please select different interpreter\" but the venv version (3.5.4) is correctly selected (see screenshot) and seems to be correctly used (the system version is 2.7.10).\r\n\r\n\r\n## Expected behavior\r\n\r\nThe warning shouldn't be shown\r\n\r\n## Steps to reproduce: \r\n- `cd` to the project folder\r\n- activate the virtualenv\r\n- `code .`\r\n\r\n## Logs\r\nOutput from ```Python``` output panel \r\n```\r\n##########Linting Output - flake8##########\r\nTraceback (most recent call last):\r\n File \"/usr/local/bin/flake8\", line 11, in \u003cmodule>\r\n load_entry_point('flake8==3.5.0', 'console_scripts', 'flake8')()\r\n File \"/usr/local/Cellar/flake8/3.5.0/libexec/lib/python2.7/site-packages/flake8/main/cli.py\", line 16, in main\r\n app.run(argv)\r\n File \"/usr/local/Cellar/flake8/3.5.0/libexec/lib/python2.7/site-packages/flake8/main/application.py\", line 396, in run\r\n self._run(argv)\r\n File \"/usr/local/Cellar/flake8/3.5.0/libexec/lib/python2.7/site-packages/flake8/main/application.py\", line 383, in _run\r\n self.initialize(argv)\r\n File \"/usr/local/Cellar/flake8/3.5.0/libexec/lib/python2.7/site-packages/flake8/main/application.py\", line 361, in initialize\r\n self.parse_preliminary_options_and_args(argv)\r\n File \"/usr/local/Cellar/flake8/3.5.0/libexec/lib/python2.7/site-packages/flake8/main/application.py\", line 133, in parse_preliminary_options_and_args\r\n opts, args = self.option_manager.parse_known_args(args)\r\n File \"/usr/local/Cellar/flake8/3.5.0/libexec/lib/python2.7/site-packages/flake8/options/manager.py\", line 307, in parse_known_args\r\n self.parser.largs.append(err.opt_str)\r\nAttributeError: 'OptionValueError' object has no attribute 'opt_str'\r\n##########Linting Output - pylint##########\r\nNo config file found, using default configuration\r\n##########Linting Output - mypy##########\r\n\r\n``` \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/tommyblue","@type":"Person","name":"tommyblue"},"datePublished":"2018-02-16T17:00:57Z","url":"https://github.com/microsoft/vscode-python/issues/804"}
| 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:0b127912-533b-7def-2046-47ac2f706794 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C472:3CC2A7:27B995:3949F2:6AFDD2D6 |
| html-safe-nonce | 453cad0cc2b039adeb7cb74023d291dfbff6a0b8913b88fdfa95d3531900f217 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDcyOjNDQzJBNzoyN0I5OTU6Mzk0OUYyOjZBRkREMkQ2IiwidmlzaXRvcl9pZCI6IjU3ODY0MjUzNjMzMDU3NDk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 558887b400cf49289ffd144ad534e0b9946d9ba7948aff35b34653b54a5eea49 |
| hovercard-subject-tag | issue:297854036 |
| 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/804/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f790ff9031c284d53a674106f473c2a9e1f632ffd55785331db5b582a8324ba5/microsoft/vscode-python/issues/804 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f790ff9031c284d53a674106f473c2a9e1f632ffd55785331db5b582a8324ba5/microsoft/vscode-python/issues/804 |
| og:image:alt | Environment data VS Code version: 1.20.1 Python Extension version: 2018.1.0 Python Version: 3.5.4 and 2.7.10 OS and version: MacOS 10.13.3 Actual behavior VSCode shows a warning: "Selected interpre... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tommyblue |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26886a40b582b821a7a76351e0a2f42b6d6160854b6e2520db24f31fd7be5da7 |
| 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 | 68ebaa631a1d248d69ebde4b9c5defd3a19aeb2f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width