STLVNUB Posted October 9, 2025 Share Posted October 9, 2025 On 10/7/2025 at 6:37 PM, Max.1974 said: Thanks my friend Hi my friend you can copy and use for everything as you wish https://github.com/maxpicelli/Clover-Compiler-Builder curl -fsSL https://raw.githubusercontent.com/maxpicelli/Clover-Compiler-Builder/main/setup.sh | bash Enjoy it 🇮🇱 Error Here Python reported: "No module named 'distutils.util" 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2841990 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 With Clover Builder v15 works too and Anaconda Python 3.9.6 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2841991 Share on other sites More sharing options...
STLVNUB Posted October 9, 2025 Share Posted October 9, 2025 Actually I Really Don't See The Point Of Compiling A New Version Of. Clover/Opencore Seeing As Tahoe Is The Last Supported Intel OS IMHO 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2841992 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 5 minutes ago, STLVNUB said: Error Here Python reported: "No module named 'distutils.util" Hi my friend, I recommend install Anaconda Python with this Clover Builder or try use release You can download in git hub links https://github.com/maxpicelli/Clover-Compiler-Builder Or use Release works fine with Terminal curl -fsSL https://raw.githubusercontent.com/maxpicelli/Clover-Compiler-Builder/main/setup.sh | bash https://github.com/maxpicelli/Clover-Compiler-Builder/releases/tag/Clover Here in Terminal works fine git clone but compile applications is better results for you hardware, but its not essential. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2841993 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 (edited) 19 minutes ago, STLVNUB said: Actually I Really Don't See The Point Of Compiling A New Version Of. Clover/Opencore Seeing As Tahoe Is The Last Supported Intel OS IMHO Hi! I see you encountered the "No module named 'distutils.util'" error. This is a common issue with newer Python versions (3.12+). Here's what you can do: 🔧 Quick Fix (Recommended): Download the updated version of the CloverCompilerBuilder - I just added automatic detection and fixing for this exact error Run the app again - it will now automatically detect and fix the distutils issue ✅ Automatic distutils.util error detection and fixing ✅ Installs setuptools automatically when needed ✅ Better Python compatibility handling ✅ Clear status messages about what's being fixed 🐍 Python Version Recommendations: For best compatibility: Python 3.9.6 (Intel Macs) - most stable Python 3.9.13 (ARM64 Macs) - most stable Python 3.13.x - now with automatic fixes 📥 How to Update: Download the latest version from the repository Run ./setup.sh again The app will be recreated with the new fixes The script now automatically handles this error, so you shouldn't see it again! Let me know if you need any help. Using Xcode 16.4 more stable and Tahoe 26.1 beta 2 I show on this video: Spoiler Edited October 9, 2025 by Max.1974 4 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2841994 Share on other sites More sharing options...
STLVNUB Posted October 9, 2025 Share Posted October 9, 2025 Thanks Max, was just interested in seeing what it does Will check it out 2 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842000 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 Welcome my friend !! 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842001 Share on other sites More sharing options...
STLVNUB Posted October 9, 2025 Share Posted October 9, 2025 ⚠ distutils.util not found - this is common in Python 3.12+ ℹ Attempting to fix by installing setuptools... ⚠ Failed to install setuptools automatically ℹ User may need to run: python3.13 -m pip install setuptools 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842002 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 1 minute ago, STLVNUB said: ⚠ distutils.util not found - this is common in Python 3.12+ ℹ Attempting to fix by installing setuptools... ⚠ Failed to install setuptools automatically ℹ User may need to run: python3.13 -m pip install setuptools Im think the original repo fixing GCC 152 so need back use old code, so I will update Clover Builder now back to v14 im update git now Its working with version v14 my friend I will update soon 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842004 Share on other sites More sharing options...
STLVNUB Posted October 9, 2025 Share Posted October 9, 2025 Anyway, Nice App, Not Really That Fussed In Compiling, Just Wanted To See How It Went 2 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842005 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 2 minutes ago, STLVNUB said: Anyway, Nice App, Not Really That Fussed In Compiling, Just Wanted To See How It Went Very cool to compile with them, they make things a lot easier. Try the repository again with Clover Builder v14, if you’d like. 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842006 Share on other sites More sharing options...
STLVNUB Posted October 9, 2025 Share Posted October 9, 2025 (edited) Python reported: "No module named 'distutils.util" make[1]: *** [test] Error 1 make: *** [Tests] Error 2 ✘ BaseTools compilation failed Don't appear to like me that's on V14 Edited October 9, 2025 by STLVNUB 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842007 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 (edited) I tested the same v14 twice, and it worked fine with GCC 152. The modification to the original repository is good. 27 minutes ago, STLVNUB said: Python reported: "No module named 'distutils.util" make[1]: *** [test] Error 1 make: *** [Tests] Error 2 ✘ BaseTools compilation failed Don't appear to like me To resolve this error in Clover Compiler Builder, the person needs to install the setuptools package, since the distutils.utilmodule was removed from Python 3.12+. Here are the steps to fix it: Run the following command in the terminal: python3.13 -m pip install setuptools Or, depending on how Python is configured on your system: python -m pip install setuptools If the above command doesn't work 1. Check if pip is installed: python3.13 -m ensurepip --upgrade 2. Try installing with administrator privileges (if needed): * * * : python3.13 -m pip install setuptools 3. User-level installation: python3.13 -m pip install --user setuptools Verification After installing, you can verify it was installed correctly: python3.13 -c "import setuptools; print(setuptools.__version__)" Important Notes distutils was deprecated and removed starting from Python 3.12 setuptools provides a compatible replacement If you're using a virtual environment (venv/virtualenv), activate it before installing On some systems, the command might be python instead of python3.13 After installing setuptools, try running Clover Compiler Builder again and the error should be resolved. I recomende use Anaconda Python https://repo.anaconda.com/archive/Anaconda3-2021.11-MacOSX-x86_64.pkg Anaconda Python 3.9.6 still includes the full distutils module within the standard package — meaning: 👉 You won’t get any “No module named ‘distutils.util’” errors in this version. ⸻ 💡 Why it works: The removal of distutils only started from Python 3.12 onward. Python 3.9.x (such as Anaconda’s 3.9.6) remains fully compatible with older projects like Clover / EDK2 / BaseTools. It also works well with GCC 152 and make scripts. Edited October 9, 2025 by Max.1974 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842008 Share on other sites More sharing options...
Max.1974 Posted October 9, 2025 Share Posted October 9, 2025 28 minutes ago, Max.1974 said: python3.13 -m pip install setuptools Last login: Thu Oct 9 04:23:20 on ttys018 (base) m4pro@Mac-mini-de-Christian ~ % python3.13 -m pip install setuptools Requirement already satisfied: setuptools in /opt/anaconda3/lib/python3.13/site-packages (72.1.0) (base) m4pro@Mac-mini-de-Christian ~ % Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842009 Share on other sites More sharing options...
Matgen84 Posted October 9, 2025 Share Posted October 9, 2025 (edited) 8 hours ago, chris1111 said: GCC152 Is ready Anyone want testing the Build Thanks to All ✌️ rm -rf ~/src mkdir -p ~/src cd ~/src git clone --branch GCC-152 https://github.com/CloverHackyColor/CloverBootloader.git cd ~/src/CloverBootloader && ./buildme 7 hours ago, chris1111 said: Ok now the branch is merge You can build Hi @chris1111 I will try GCC152 but I do not find any merge in master branch on Github. Sorry I don't understand. Edited October 9, 2025 by Matgen84 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842012 Share on other sites More sharing options...
LockDown Posted October 9, 2025 Share Posted October 9, 2025 --branch GCC-152 thats different from the master 4 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842013 Share on other sites More sharing options...
chris1111 Posted October 9, 2025 Share Posted October 9, 2025 (edited) 9 hours ago, Matgen84 said: Hi @chris1111 I will try GCC152 but I do not find any merge in master branch on Github. Sorry I don't understand. Yes its not merge Waiting for Slice Approve ✌️ If you want GCC152 you have to build the branch --GCC-152 14 hours ago, Max.1974 said: Thanks my friend, works!!! You Got It Thanks my freind Edited October 9, 2025 by chris1111 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842017 Share on other sites More sharing options...
Matgen84 Posted October 9, 2025 Share Posted October 9, 2025 42 minutes ago, chris1111 said: Yes its not merge Waiting for Slice Approve ✌️ If you want GCC52 you have to build the branch --GCC-152 Thanks my friend. 😊 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842018 Share on other sites More sharing options...
Alpha22 Posted October 9, 2025 Share Posted October 9, 2025 15 hours ago, chris1111 said: GCC152 Is ready Anyone want testing the Build Thanks to All ✌️ rm -rf ~/src mkdir -p ~/src cd ~/src git clone --branch GCC-152 https://github.com/CloverHackyColor/CloverBootloader.git cd ~/src/CloverBootloader && ./buildme @chris1111 There you go, filled out Spoiler thanks 3 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842025 Share on other sites More sharing options...
chris1111 Posted October 9, 2025 Share Posted October 9, 2025 1 hour ago, Alpha22 said: @chris1111 There you go, filled out Hide contents thanks Thanks to you👍 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842026 Share on other sites More sharing options...
MakAsrock Posted October 9, 2025 Share Posted October 9, 2025 21 hours ago, chris1111 said: GCC152 Is ready Anyone want testing the Build Thanks to All ✌️ rm -rf ~/src mkdir -p ~/src cd ~/src git clone --branch GCC-152 https://github.com/CloverHackyColor/CloverBootloader.git cd ~/src/CloverBootloader && ./buildme Thanks chris1111! All tests have passed and all your changes have been included in my branch. 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842030 Share on other sites More sharing options...
STLVNUB Posted October 10, 2025 Share Posted October 10, 2025 (edited) 20 hours ago, Max.1974 said: I tested the same v14 twice, and it worked fine with GCC 152. The modification to the original repository is good. To resolve this error in Clover Compiler Builder, the person needs to install the setuptools package, since the distutils.utilmodule was removed from Python 3.12+. Here are the steps to fix it: Run the following command in the terminal: python3.13 -m pip install setuptools Or, depending on how Python is configured on your system: python -m pip install setuptools If the above command doesn't work 1. Check if pip is installed: python3.13 -m ensurepip --upgrade 2. Try installing with administrator privileges (if needed): * * * : python3.13 -m pip install setuptools 3. User-level installation: python3.13 -m pip install --user setuptools Verification After installing, you can verify it was installed correctly: python3.13 -c "import setuptools; print(setuptools.__version__)" Important Notes distutils was deprecated and removed starting from Python 3.12 setuptools provides a compatible replacement If you're using a virtual environment (venv/virtualenv), activate it before installing On some systems, the command might be python instead of python3.13 After installing setuptools, try running Clover Compiler Builder again and the error should be resolved. I recomende use Anaconda Python https://repo.anaconda.com/archive/Anaconda3-2021.11-MacOSX-x86_64.pkg Anaconda Python 3.9.6 still includes the full distutils module within the standard package — meaning: 👉 You won’t get any “No module named ‘distutils.util’” errors in this version. ⸻ 💡 Why it works: The removal of distutils only started from Python 3.12 onward. Python 3.9.x (such as Anaconda’s 3.9.6) remains fully compatible with older projects like Clover / EDK2 / BaseTools. It also works well with GCC 152 and make scripts. Password: WARNING: The directory '/Users/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try brew install xyz, where xyz is the package you are trying to install. If you wish to install a Python library that isn't in Homebrew, use a virtual environment: python3 -m venv path/to/venv source path/to/venv/bin/activate python3 -m pip install xyz If you wish to install a Python application that isn't in Homebrew, it may be easiest to use 'pipx install xyz', which will manage a virtual environment for you. You can install pipx with brew install pipx You may restore the old behavior of pip by passing the '--break-system-packages' flag to pip, or by adding 'break-system-packages = true' to your pip.conf file. The latter will permanently disable this error. If you disable this error, we STRONGLY recommend that you additionally pass the '--user' flag to pip, or set 'user = true' in your pip.conf file. Failure to do this can result in a broken Homebrew installation. Read more about this behavior here: <https://peps.python.org/pep-0668/> note: If you belie Edited October 10, 2025 by STLVNUB 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842033 Share on other sites More sharing options...
STLVNUB Posted October 10, 2025 Share Posted October 10, 2025 @Max.1974 Thanks For Your Help, BUT I'll Stick With What I've Got, It Does The Job 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842035 Share on other sites More sharing options...
Max.1974 Posted October 10, 2025 Share Posted October 10, 2025 (edited) 56 minutes ago, STLVNUB said: @Max.1974 Thanks For Your Help, BUT I'll Stick With What I've Got, It Does The Job Thanks for feedback my friend, I think command provided by Chris1111 will work too!! God bless you!! Clover direct from Action or GitHub release works awesome too!! If you wish could be useful try this : brew install pipx pipx ensurepath pipx install httpie More informations about Python you can find here: https://peps.python.org/pep-0668/ Edited October 10, 2025 by Max.1974 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842036 Share on other sites More sharing options...
Max.1974 Posted October 10, 2025 Share Posted October 10, 2025 or https://setuptools.pypa.io/en/latest/deprecated/easy_install.html 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/1220/#findComment-2842037 Share on other sites More sharing options...
Recommended Posts