close

[Fixed] How to fix “zsh: command not found: python” error? (macOS Monterey 12.3, python 3.10, Atom IDE, atom-python-run 0.9.7)

Today We are Going To Solve How to fix “zsh: command not found: python” error? (macOS Monterey 12.3, python 3.10, Atom IDE, atom-python-run 0.9.7) in Python. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix “zsh: command not found: python” error? (macOS Monterey 12.3, python 3.10, Atom IDE, atom-python-run 0.9.7) Error?

  1. How to Fix “zsh: command not found: python” error? (macOS Monterey 12.3, python 3.10, Atom IDE, atom-python-run 0.9.7) Error?

    To Fix “zsh: command not found: python” error? (macOS Monterey 12.3, python 3.10, Atom IDE, atom-python-run 0.9.7) Error just Add eval "$(pyenv init --path)" to ~/.zprofile. Here, first of all, you have to run the below commands one by one brew install pyenv pyenv install --list pyenv install 2.7.18 pyenv versions pyenv global 2.7.18 After it just add eval "$(pyenv init --path)" to ~/.zprofile

  2. How to fix “zsh: command not found: python” error? (macOS Monterey 12.3, python 3.10, Atom IDE, atom-python-run 0.9.7)

    To Fix “zsh: command not found: python” error? (macOS Monterey 12.3, python 3.10, Atom IDE, atom-python-run 0.9.7) Error just Add eval "$(pyenv init --path)" to ~/.zprofile. Here, first of all, you have to run the below commands one by one brew install pyenv pyenv install --list pyenv install 2.7.18 pyenv versions pyenv global 2.7.18 After it just add eval "$(pyenv init --path)" to ~/.zprofile

Solution 1 : Add eval "$(pyenv init --path)" to ~/.zprofile

Here, first of all, you have to run the below commands one by one

brew install pyenv
pyenv install --list
pyenv install 2.7.18
pyenv versions
pyenv global 2.7.18

After it just add eval "$(pyenv init --path)" to ~/.zprofile

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read These Solutions

Leave a Comment