zsh-quickstart-kit: (anon):16: command not found: python

Describe the bug After installing MacOS 12.3 Monterey I get the error every time I boot a fresh terminal session. Running on a MacBook Pro M1.

(anon):16: command not found: python

Expected behavior No errors

Additional context This only started since updating the OS to 12.3. I have Pyenv Python installed.

I have eval "$(pyenv init --path)" in my 001-config file which evaluates the keyword python after my session has booted, but the error appears before this command is presumably initiated.

I have tried running zqs update with no luck.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 25 (12 by maintainers)

Commits related to this issue

Most upvoted comments

@unixorn I have tested zshrc.pre-plugins.d, and creating file with something like this

export PATH="/usr/local/opt/python@3.10/bin:/usr/local/opt/python@3.10/libexec/bin:$PATH"

solves the issue.

Everything seems to work for me now, thanks!

@unixorn everything is hunky dory. Thanks for the fix!