Recently on my M1 Macbook I ran into the following issue when trying to compile some Go code with C dependencies. The "clang" command requires the command line developer tools. usr/bin/python3 (for architecture x86_64): Mach-O 64-bit executable x86_64 Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e usr/bin/python3: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64 rwxr-xr-x 76 root wheel 163K /usr/bin/python3 Simple: Everything was working, until I uninstalled XCode to free up 11GB that I needed (and I don't use XCode at all). EDIT: Replying to the commant and why I think "python is installed" I want to be able to use make, gcc, install brew packages etc. EDIT #2: This was just an example, my question is about xcode cli tools. Is there a way to install command line tools for MacOS without installing the full XCode suite? I'm low on storage and I find it hard to swallow that I have to free up 20+ GB just to be able to do: $ python -m rverĮspecially since python is already installed. I'm extremely surprised this question wasn't asked, or at least I wasn't able to find it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |