Title: pip linter install fails · Issue #808 · microsoft/vscode-python · GitHub
Open Graph Title: pip linter install fails · Issue #808 · microsoft/vscode-python
X Title: pip linter install fails · Issue #808 · microsoft/vscode-python
Description: Environment data VS Code version: 1.20.1 Python Extension version: 2018.1 Python Version: 3.6.4 (Homebrew & virtualenvwrapper) OS and version: MacOS 10.13.3 Actual behavior Using Cmd-Shift-P, I select for example 'mypy' which is not inst...
Open Graph Description: Environment data VS Code version: 1.20.1 Python Extension version: 2018.1 Python Version: 3.6.4 (Homebrew & virtualenvwrapper) OS and version: MacOS 10.13.3 Actual behavior Using Cmd-Shift-P, I sel...
X Description: Environment data VS Code version: 1.20.1 Python Extension version: 2018.1 Python Version: 3.6.4 (Homebrew & virtualenvwrapper) OS and version: MacOS 10.13.3 Actual behavior Using Cmd-Shift-P, I...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/808
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pip linter install fails","articleBody":"## Environment data\r\nVS Code version: 1.20.1\r\nPython Extension version: 2018.1 \r\nPython Version: 3.6.4 (Homebrew & virtualenvwrapper)\r\nOS and version: MacOS 10.13.3\r\n\r\n## Actual behavior\r\nUsing Cmd-Shift-P, I select for example 'mypy' which is not installed in my virtual environment. When I click Install, `python3 -m pip install -U mypy --user` fails, with message `Can not perform a '--user' install. User site-packages are not visible in this virtualenv.`\r\n\r\n## Expected behavior\r\nExpect mypy to be installed in my virtual environment's site-packages directory. \r\n\r\n## Steps to reproduce: \r\n- Set up virtual environment with virtualenvwrapper.\r\n- Open vscode from the terminal with the virtual env already activated (workon...).\r\n- Rest as described in Actual behavior.\r\n\r\nI see that `--user` is hard-coded in **pipInstaller.ts** (which I suspect is doing the installing). Is there a way to override that setting? Or am I getting something wrong?\r\n\r\nIn the end, I was able to manually install the linter to be able to move forward, and that seems to be working correctly. Would be nice to be able to depend on the install procedure though.\r\n\r\nThanks.\r\n\r\n## Logs\r\nOutput from ```Python``` output panel \r\n```\r\nnone\r\n``` \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n```\r\nnone\r\n```\r\n","author":{"url":"https://github.com/wlbentley","@type":"Person","name":"wlbentley"},"datePublished":"2018-02-16T21:17:27Z","url":"https://github.com/microsoft/vscode-python/issues/808"}
| 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:84e5de4f-6677-c4d0-f624-2bfce76f7a06 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD3C:15ED80:25594C:3612BD:6AFDD2E3 |
| html-safe-nonce | 2f8808763e53846033bbcb7252bf49833243604e114a996715adf24f3c279cc4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDNDOjE1RUQ4MDoyNTU5NEM6MzYxMkJEOjZBRkREMkUzIiwidmlzaXRvcl9pZCI6Ijg4NTc3Mjg1ODc4Mzk0MjcyOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a17de4f4bbfb789974680b07afe07f2b2577337f862e64f6937e2ec95ebd65b8 |
| hovercard-subject-tag | issue:297922615 |
| 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/808/issue_layout |
| twitter:image | https://opengraph.githubassets.com/440e6901e70e58e2b083a835d9e07b2821261e256b44664d701974c7d2681a26/microsoft/vscode-python/issues/808 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/440e6901e70e58e2b083a835d9e07b2821261e256b44664d701974c7d2681a26/microsoft/vscode-python/issues/808 |
| og:image:alt | Environment data VS Code version: 1.20.1 Python Extension version: 2018.1 Python Version: 3.6.4 (Homebrew & virtualenvwrapper) OS and version: MacOS 10.13.3 Actual behavior Using Cmd-Shift-P, I sel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wlbentley |
| 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