Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Show error when pip fails #157

Closed
roblourens opened this issue Nov 9, 2019 · 2 comments
Closed

Show error when pip fails #157

roblourens opened this issue Nov 9, 2019 · 2 comments

Comments

@roblourens
Copy link
Member

I realized that pip is not installed and when the extension tries to install its dependencies, it silently fails. I just have this in the developer tools log:

Error: Command failed: python3.7 -m pip install -r /Users/roblou/.vscode-insiders/extensions/ms-python.devicesimulatorexpress-2019.0.35146/out/requirements.txt -t /Users/roblou/.vscode-insiders/extensions/ms-python.devicesimulatorexpress-2019.0.35146/out/python_libs/usr/local/bin/python3.7: No module named pip

Please show an error popup when this fails, I think this is why #155 happened

@roblourens
Copy link
Member Author

Also with pip installed correctly, I get this error:

rror: Command failed: python3.7 -m pip install -r /Users/roblou/.vscode-insiders/extensions/ms-python.devicesimulatorexpress-2019.0.35146/out/requirements.txt -t /Users/roblou/.vscode-insiders/extensions/ms-python.devicesimulatorexpress-2019.0.35146/out/python_libsERROR: Could not find a version that satisfies the requirement pywin32==224 (from -r /Users/roblou/.vscode-insiders/extensions/ms-python.devicesimulatorexpress-2019.0.35146/out/requirements.txt (line 6)) (from versions: none)ERROR: No matching distribution found for pywin32==224 (from -r /Users/roblou/.vscode-insiders/extensions/ms-python.devicesimulatorexpress-2019.0.35146/out/requirements.txt (line 6))

Maybe because I am on a Mac. I deleted that line and it seems to have installed them fine after that.

@vandyliu
Copy link
Contributor

Fixed in #210

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants