Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong python3 location for macOS Catalina #19

Open
jashsayani opened this issue Jan 20, 2020 · 9 comments
Open

Wrong python3 location for macOS Catalina #19

jashsayani opened this issue Jan 20, 2020 · 9 comments

Comments

@jashsayani
Copy link

Screen Shot 2020-01-19 at 4 22 28 PM

macOS Catalina comes with Python 3. It is at /usr/bin/python3.

@jashsayani
Copy link
Author

Would be nice to change the default location in the script or detect OS version and use the correct path for Catalina for 10.15.x

@charlietomo
Copy link

Are you still having issues with this? I upgraded to Catalina and it has continued to work with no error?

@jashsayani
Copy link
Author

I had the issue, which got fixed when I changed the python location.

@Kusine
Copy link

Kusine commented Feb 7, 2021

Hello, I am still getting a similar issue and error message despite updating line 3 in the script to /usr/bin/python3. I also tried out /usr/bin/python and that does not work either.

Screen Shot 2021-02-07 at 20 55 29

@charlietomo
Copy link

Just confirming on 10.15.7 I have PYTHON="/usr/bin/python3" in my script file and it works (with non critical errors). I am not aware I did anything special with Python to get this to work. What OS version are you running?

@Kusine
Copy link

Kusine commented Feb 10, 2021

Thanks for your reply, yes I am running 10.15.7 and on line 3 of the script file, I have PYTHON="/usr/bin/python3". I am confused. I installed the latest Python via Homebrew.

@charlietomo
Copy link

I am no expert here but it seems we have similar setups and mine is working. So I will try and help!
What is the response if you run which python3 in the terminal?

@Kusine
Copy link

Kusine commented Feb 11, 2021

Thank you @charlietomo for your willingness to help me out, I appreciate it!
If I do which python3 I get /usr/local/bin/python3.
If I do which python I get /usr/bin/python3.

@KhaineBOT
Copy link
Contributor

Screen Shot 2020-01-19 at 4 22 28 PM

macOS Catalina comes with Python 3. It is at /usr/bin/python3.

No it doesn't. MacOS comes with python2. You need to install python3 separately. See https://installpython3.com/mac/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants