axi0mX / ipwndfu

open-source jailbreaking tool for many iOS devices
GNU General Public License v3.0
7.04k stars 1.7k forks source link

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

Open Bump64 opened 2 years ago

Bump64 commented 2 years ago

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

Aholicknight commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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!