Skip to content

conda activate base bug in VsCode after update 1.33.1  #72188

Closed

Description

@Junwen-xie
  • VSCode Version:
  • OS Version: MacOS 10.14.4

Steps to Reproduce:

  1. python intercepter using Anaconda 3.6.8
  2. when create a new terminal

[base env here already exist]
(base) Etar:Khanid eel$ source /Users/eel/anaconda3/bin/activate
(base) Etar:Khanid eel$ conda activate base
(base) Etar:Khanid eel$

However it shows below which is not conda python env

Python 2.7.10 (default, Feb 22 2019, 21:17:52)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

i tried in my own system terminal , it works fine.
hopefully this problem can be fixed

Does this issue occur when all extensions are disabled?: Yes/No

Activity

  1. added
    terminal
    on Apr 12, 2019
  2. Tyriar commented on Apr 12, 2019

    @Tyriar
    Contributor

    However it shows below which is not conda python env

    Can you explain what you mean for someone unfamiliar with conda?

  3. added
    info-needed
    on Apr 12, 2019
  4. Junwen-xie commented on Apr 14, 2019

    @Junwen-xie
    Author

    However it shows below which is not conda python env

    Can you explain what you mean for someone unfamiliar with conda?

    HI, Anaconda provide visual environment for users to switch different versions of python.
    in vscode terminal it works fine with previous version.

    when you set python path in vscode. vscode terminal should be expected to switch the same python version. however. the terminal doesn't make it work properly

  5. Junwen-xie commented on Apr 14, 2019

    @Junwen-xie
    Author

    屏幕快照 2019-04-14 上午11 30 40

    this is how it's happend
  6. Tyriar commented on Apr 14, 2019

    @Tyriar
    Contributor

    Looks like this is related to the Python extension and could be related to #70248

  7. added
    *caused-by-extension
    on Apr 14, 2019
  8. vscodebot commented on Apr 14, 2019

    @vscodebot

    This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.

    Happy Coding!

  9. locked and limited conversation to collaborators on Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*caused-by-extensioninfo-neededterminal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions