I downloaded the latest Anaconda 3 2.4.1 (Python 3.5) from the below link: My. Reopen Anaconda, Launch Jupyter and try ‘import xgboost as xgb’ If the force is with you then it will be imported. How to install xgboost in Anaconda Python (Windows platform) I am new Python user. When I did pip install xgboost, I am getting this error, Command "python setup. Open the terminal and write ‘conda install -c conda-forge xgboost‘ (No specific path needed to run this command. ![]() When I tried import from python terminal I get this error, although I followed all the steps to install xgboost, somehow python is unable to get the package details.I am relatively new to python, I could easily install numpy and pandas packages,I used this link for installation on MACOSX > import xgboost dask-xgboost and the CPU variant of xgboost: conda install py-xgboost-cpu dask-xgboost Known issue : In a conda environment where the CPU or GPU XGBoost variant is already installed, there is a known conda issue with installing the other XGBoost variant.
0 Comments
Leave a Reply. |