What is the difference among ?
conda install -c conda-forge libxgboost https://anaconda.org/conda-forge/libxgboost
conda install -c conda-forge py-xgboost https://anaconda.org/conda-forge/py-xgboost
conda install -c conda-forge xgboost https://anaconda.org/conda-forge/xgboost
I checked official documentation, it only mentioned “conda install -c conda-forge py-xgboost”
I am now using pip install xgboost in order to install to latest xgboost 2.0 version, but my enviroment seems has a conflicted warning as below, which I resolved by
conda remove xgboost and
conda remove libxgboost. However, I am so confused on which to use to manage xgboost version.
I am currently using Python to do modeling, JVM version is also used but managed by a saperate env.
ValueError: Mismatched version between the Python package and the native shared object. Python package version: 2.0.0. Shared object version: 1.4.2. Shared object is loaded from: /opt/omniai/software/Miniconda/lib/libxgboost.so. Likely cause: * XGBoost is first installed with anaconda then upgraded with pip. To fix it please remove one of the installations.