Skip to content

python terminal fails to activate conda environment #2952

Closed
@nmovshov

Description

@nmovshov

Issue Type: Bug

python:  create terminal

Terminal launches and tries to activate the base environment by calling the activate script. The call is somehow messed up. Looks like the path forgot to escape some \ characters. Here is the output in the newly launched terminal.

$ C:\Users\naor\Anaconda3\Scripts\activate base
bash: C:UsersnaorAnaconda3Scriptsactivate: command not found

Naturally, this causes many issues from that point, especially if the terminal was launched by a debug launch.

Extension version: 2018.9.0
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 6.1.7601

System Info
Item Value
CPUs Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 x 3400)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 7.97GB (4.01GB free)
Process Argv
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions