Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97371

Pyenv: activate.sh command not found

$
0
0

When opening a vscode terminal when the python extension is loaded, it tries to execute this:

source /Users/victor/.pyenv/shims/activate.sh

Which triggers this error:

pyenv: activate.sh command not found

The `activate.sh` command exists in these Python versions:
    2.7.4

And then bluntly closes the terminal. Is there an issue with my pyenv installation here?

Context:

  • which python>/Users/victor/.pyenv/shims/python
  • python --verison>Python 3.7.4
  • VSCode: Version: 1.41.1
  • OS: macOS 10.14.6
  • pyenv versions:

      system
      2.7.14
      3.4.3
      3.5.4
      3.6.4
      3.6.6
      3.6.9
    * 3.7.4 (set by /Users/victor/.pyenv/version)
    

Viewing all articles
Browse latest Browse all 97371

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>