Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows run installPythonLibs will fail with "Can not combine '--user' and '--target'" #16844

Closed
slightc opened this issue Aug 2, 2021 · 1 comment · Fixed by #16876
Closed
Labels
area-internal Label for non-user facing issues bug Issue identified by VS Code Team member as probable bug good first issue

Comments

@slightc
Copy link

slightc commented Aug 2, 2021

Steps to reproduce:

  1. Run the gulp task installPythonLibs follow wiki

Logs

result is

> python3 -m pip --disable-pip-version-check install -t ./pythonFiles/lib/temp -r ./build/debugger-install-requirements.txt
ERROR: Can not combine '--user' and '--target'

Fix

could run cmd with param --no-user, like

python3 -m pip --disable-pip-version-check install --no-user -t ./pythonFiles/lib/temp -r ./build/debugger-install-requirements.txt
@slightc slightc added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Aug 2, 2021
@karthiknadig karthiknadig added area-internal Label for non-user facing issues good first issue needs PR and removed triage-needed Needs assignment to the proper sub-team labels Aug 2, 2021
@karthiknadig
Copy link
Member

Thanks for identifying the problem. Please feel free to create a PR with the fix.

karrtikr pushed a commit that referenced this issue Aug 10, 2021
* Fix installPythonRequirements error in windows

* add news for issues #16844
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-internal Label for non-user facing issues bug Issue identified by VS Code Team member as probable bug good first issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants