Post

Replies

Boosts

Views

Activity

How to manage python on mac
Hello, I had python2 and python3 on my machine. They were working ok. After I install an update (xcode command line tools update) the update messed up the python. Python2 got deleted and python3 is not working properly. I managed to install python2 but still have problems. Now, when I type python, Mac says it needs to install command line tools which I already uninstalled and installed again countless times. I had got frida package installed on python3. Now when I type frida, it says -bash: /usr/local/bin/frida: /Applications/Xcode.app/Contents/Developer/usr/bin/python3: bad interpreter: No such file or directory I see #!/Applications/Xcode.app/Contents/Developer/usr/bin/python3 in the first line of the frida file. I can easily overwite it with /usr/bin/python3 this line but that would break something else. As if it wasn't enough to maintaining python is too freaking hard, updates messes up it 😡 My questions are how xcode manages python? Why it doesn't install on its own when I install command line tools? How to fix the issue?
1
0
3.2k
Mar ’22