Skip to content

python terminal fails to activate conda environment #2952

Closed

Description

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%

Activity

  1. brettcannon commented on Oct 18, 2018

    @brettcannon
    Member

    Duplicate of #2898

  2. nmovshov commented on Oct 18, 2018

    @nmovshov
    Author

    Edit: #2898 activation actually fails on every shell in windows except cwd, including the git bash.

  3. brettcannon commented on Oct 18, 2018

    @brettcannon
    Member

    [ Naor Movshovitz (@nmovshov) I edited your ✉️ ⬆️ to come off as more 😃 and less 😠 ]

    We don't support git-bash, so that would explain why that doesn't work.

  4. locked as resolved and limited conversation to collaborators on Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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