-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module found error after XGBoost installation via Homebrew #5411
Comments
@hcho3 Could you please help verifying? |
Current Homebrew package only installs the CLI application and not the Python binding. There's an ongoing discussion to include the Python binding as well: Homebrew/homebrew-core#50467. (This PR also upgrades XGBoost to 1.0.0.) For now, you can follow steps in #4949 (comment) to install the Python package. |
@hernandezurbina We just release XGBoost version 1.1.0, and starting from this release, we publish a Python wheel specifically built for Mac OS: https://pypi.org/project/xgboost/1.1.0/#files. You can install it by running
Note: you should first install libomp by running |
Hi, I installed xgboost via Homebrew with the intention to use it inside a Python virtualenv. The installation went smoothly, but when doing "import xgboost" in Python (inside or outside a virtualenv) I receive a "No module named xgboost" error. Did I miss anything during installation? Thanks!
The text was updated successfully, but these errors were encountered: