

Seeing here is actually a little bit emotional, the domestic IT industry is in full swing, but this important and basic thing is actually a school student who is spontaneously maintaining it according to his own hobbies. condarc file channels:Īnaconda link of Tsinghua open source mirror station: Searching for a long time, I tried N many sources, and found that none of them worked.įinally, I carefully read the anaconda page of the Tsinghua open source mirror station, and with the mentality of giving it a try, paste the configuration on the official website to the local. The conda problem is obviously a source problem. Solving environment: failed with initial frozen solve. There are a few posts that reflect that the method is simple and rude and easy to use, so I tried it with the idea of giving it a try.Īs a result, conda dropped the link. Solution 2ĭuring the search, I found that an old man directly gave a line of code to solve the problem. So this is a feasible way, but it can be called hell difficulty, so I just gave up. It turns out that whether it is upgrading homebrew, or installing gcc, gitclone source code, every step is as difficult as the sky, old folks understand. I searched the online solutions again, most of the routines are like this:įirst upgrade homebrew, then install a higher version of gcc through homebrew, then go to gitclone xgboost source code, build source code, and install.

However, the default apple clang compiler does not support openmp, so using the default compiler will disable multi-threading. Xgboost model itself supports multi-threaded operation, that is, multiple CPU threads are used for training I checked the reasons, and the general reasons are as follows: The * You are running 32-bit Python on a 64-bit OS

* OpenMP runtime is not installed (vcomp140.dll or libgomp-1.dll for Windows, libgomp.so for UNIX-like OSes) import xgboost as xgbĪfter importing xgboost, report an error directly : XGBoost Library (libxgboost.dylib) could not be loaded. However, after the installation was completed, problems occurred during use.

There is nothing wrong with the installation process. Use it directly at the beginning pin install xgboost I thought it was a very simple thing, but I didn’t expect that it took some twists and turns, so I recorded it specially 1. Recently, due to work needs, I want to install xgboost on macos. I have not installed xgboost on my macos. Welcome everyone to star, leave a message, and learn and progress together 0. Project github address: bitcarmanlee easy-algorithm-interview-and-practice
