neoclide/coc-python

python.createTerminal not activating virtual env

ravisumit33 opened this issue · 0 comments

coc-settings.json

{
  "coc.preferences.formatOnSaveFiletypes": ["python"],
  "explorer.width": 30,
  "explorer.icon.enableNerdfont": true, 
  "explorer.previewAction.onHover": false,
  "explorer.keyMappings.global": {
    "<cr>": ["expandable?", "expand", "open"],
    "v": "open:vsplit",
    "W": "workspaceFolders"
  },
  "list.normalMappings": {
    "q": "action:quickfix"
  },
  "list.previewSplitRight":true,
  "list.source.grep.excludePatterns": ["^tags*", "**/.git/*"],
  "diagnostic.errorSign": "‚úó" ,
  "diagnostic.warningSign": "‚ö†",
  "diagnostic.infoSign": "‚ìò",
  "git.addGBlameToVirtualText": true,
  "clangd.path": "/Users/sumik/.config/coc/extensions/coc-clangd-data/install/10.0.0/clangd_10.0.0/bin/clangd",
  "python.jediPath": "/usr/local/lib/python3.8/site-packages",
  "python.formatting.provider": "black",
  "python.terminal.activateEnvironment": true,
  "python.pythonPath": "~/.pyenv/mysterio_env/bin/python"
}

I can see my virtual environment in the status line:
Screenshot 2020-11-14 at 12 27 22 PM

But when I run :CocCommand python.createTerminal virtual env is not activated.