Python Forum
Can't Find Python (or Something)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't Find Python (or Something)
#3
(Nov-26-2023, 02:23 AM)pklind Wrote: I have verified with the command python3 --version that Python exists as it returns 'Python 3.12.0'
Then all is ok.
Python is not pre-installed on Mac automatically anymore.
Previously Mac came with a pre-installed Python 2.7 and then python command did return 2,7(now dead💀).
(Nov-26-2023, 02:23 AM)pklind Wrote: I have tried adding a .zshrc file with paths to these directories.
You can use alias in .zshrc file.
Do first which python3 the result Path:
alias python=/<your path>/python3
Then both python and python3 point to Python 3.12.

Some other way in this link like eg using pyenv .
rob101 likes this post
Reply


Messages In This Thread
Can't Find Python (or Something) - by pklind - Nov-26-2023, 02:23 AM
RE: Can't Find Python (or Something) - by perfringo - Nov-26-2023, 07:12 AM
RE: Can't Find Python (or Something) - by snippsat - Nov-26-2023, 11:11 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020