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

Bad interpreter, no such file and directory usr/bin/python #306

Open
Bump64 opened this issue Jun 12, 2022 · 3 comments
Open

Bad interpreter, no such file and directory usr/bin/python #306

Bump64 opened this issue Jun 12, 2022 · 3 comments

Comments

@Bump64
Copy link

Bump64 commented Jun 12, 2022

Yo, could someone help me with this issue, thanks.

@Aholicknight
Copy link

Same error:
Screen Shot 2022-06-15 at 11 01 15 PM

And when I check the /usr/bin folder I have python3 installed (which installs by default from xcode or brew install python):
Screen Shot 2022-06-15 at 11 03 08 PM

How can you fix this problem?

@CrafterPika
Copy link

CrafterPika commented Jun 16, 2022

MacOS 12.3+ removed python 2, therefor it needs to be installed manually.
i recommend pyenv, just use https://brew.sh to install it

brew install pyenv
pyenv install 2.7.18
pyenv install 3.10.4
pyenv global 2.7.18 3.10.4

@Aholicknight
Copy link

MacOS 12.3+ removed python 2, therefor it needs to be installed manually. i recommend pyenv, just use brew.sh to install it

@CrafterPika this works thank you!

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

3 participants