-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Type: Bug
Behaviour
Expected vs. Actual
When I want to launch Tensorboard Session, I can't open and get this:
We failed to start a TensorBoard session due to the following error: Command failed: conda activate dynavoxel && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /data-2/yuxingyuan/.vscode-server/extensions/ms-python.python-2022.16.0/pythonFiles/printEnvVariables.py CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init <SHELL_NAME> Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell See 'conda init --help' for more information and options. IMPORTANT: You may need to close and restart your shell after running 'conda init'.
In the last version of VSCode, the problem is not existed.
Steps to reproduce:
You may try a python project with "import tensorboardX", when you click it to open the session you may have the problem.
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.10.4
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
- Value of the
python.languageServer
setting: Default
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
XXX
User Settings
languageServer: "Pylance"
Extension version: 2022.16.0
VS Code version: Code 1.72.0 (64bbfbf67ada9953918d72e1df2f4d8e537d340e, 2022-10-04T23:20:39.912Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
Remote OS version: Linux x64 4.18.0-15-generic
System Info
Item | Value |
---|---|
CPUs | 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | undefined |
Memory (System) | 15.71GB (6.91GB free) |
Process Argv | --folder-uri vscode-remote://ssh-remote%2B7b22686f73744e616d65223a225a4a552d6376672d3330393063227d/mnt/nas_8/group/yuxingyuan/VoxMan --crash-reporter-id c5f83874-9301-48be-a9a1-7b20fc0343c3 |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: ZJU-cvg-3090c |
OS | Linux x64 4.18.0-15-generic |
CPUs | Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz (40 x 2360) |
Memory (System) | 251.58GB (209.50GB free) |
VM | 0% |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
2144e591:30553903
pyindex848:30577860
fc301958:30573243