Open
Description
Hi,
I am facing trouble building pgml from the source. I am following the developer guide. When I run the unit tests with cargo pgrx test
, I get the error below which arises from line 45 in api.rs.
ERROR SQLSTATE[XX000]: The xgboost package is missing. Install it with `sudo pip3 install xgboost`
ModuleNotFoundError: No module named 'xgboost'
query: CREATE EXTENSION pgml CASCADE;
params: None
I have tried solutions mentioned in this issue which looks like a duplicate.
The complete error message is in the file attached herewith.
I get the following when is run pip show xgboost
in my pyenv virtual environment
Name: xgboost
Version: 1.7.6
Summary: XGBoost Python Package
Home-page: https://github.com/dmlc/xgboost
Author:
Author-email:
License: Apache-2.0
Location: /Users/nirnayroy/.pyenv/versions/3.11-dev/envs/pgml/lib/python3.11/site-packages
Requires: numpy, scipy
Required-by:
Thanks in advance!
My system information is mentioned below
Software:
System Version: macOS 13.4.1 (c) (22F770820d) Kernel Version: Darwin 22.5.0 Boot Volume: Macintosh HD Boot Mode: Normal
Hardware:
Model Name: MacBook Pro Model Identifier: Mac14,7 Model Number: Z16R0006KHN/A Chip: Apple M2 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 16 GB