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

Activating Python Failed Error #12175

Closed
AnupamSaraph opened this issue Jun 6, 2020 · 2 comments
Closed

Activating Python Failed Error #12175

AnupamSaraph opened this issue Jun 6, 2020 · 2 comments
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@AnupamSaraph
Copy link

AnupamSaraph commented Jun 6, 2020

Issue Type: Bug report

All of a sudden visual studio reports "Activating Python 3.7.6 64-bit ('Anaconda3': conda) to run Jupyter failed with Error: Command failed". Jupyter works in edge as well as spyder.

VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18363

"Activating Python 3.7.6 64-bit ('Anaconda3': conda) to run Jupyter failed with Error: Command failed: C:/ProgramData/Anaconda3/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python "c:\Users\Anupam Saraph\.vscode\extensions\ms-python.python-2020.5.80290\pythonFiles\pyvsc-run-isolated.py" "c:/Users/Anupam Saraph/.vscode/extensions/ms-python.python-2020.5.80290/pythonFiles/printEnvVariables.py" Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640."
System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.93GB (3.25GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
anaconda-extension-pack ms- 1.0.1
python ms- 2020.5.80290
autodocstring njp 0.5.3
vscode-yaml red 0.8.0
@AnupamSaraph AnupamSaraph added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Jun 6, 2020
@karrtikr
Copy link

karrtikr commented Jun 7, 2020

This might be that when run in VS Code it is not running in a activated environment. Can you try this?

  1. Anaconda prompt and cd to your workspace.
  2. Activate the environment using conda activate
  3. Start VS Code using code .

related #10626

@karrtikr
Copy link

karrtikr commented Jun 7, 2020

Possibly a dup of #12183

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jun 8, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants