xgboost is recognized in terminal but not in Rodeo GUI
I've been trying to install xgboost since last night, but I just can't seem to get it to work. My latest development so far is that I am able to successfully call on the module when using the terminal, but it has an ImportError when using my Rodeo GUI, also in atom-hydrogren. Any tips how I can call xgboost for these?
Here 's a screencap for importing xgboost:
- Success:

Failure:
>>> import xgboost ImportError: No module named xgboost
Rodeo and Mac Terminal use different versions of Python and obviously different
PYTHONPATHwith their own set of libraries.When you installed
xgboostwithgit, you used the Terminal which is configured to use Python 2.7.10 (probably pre-installed with the OS). However, it is not installed in the package site that Rodeo uses.You have two options:
xgboostin Rodeo's package siteSince you stated that Rodeo is installed alongside with Anaconda, I'd go with option 2. Anaconda has a lot of useful packages pre-installed that don't come along with the pre-installed libraries that the Terminal uses.
You could follow this link to install
xgboostin Anaconda. After which, it should work fine with Rodeo.Otherwise, you could try this code directly in Rodeo:
If
xgboostcannot compile, then it means that you don't have a compatible compiler to build it. To build it in a Mac, do the following (provided you have Homebrew)and then install
xgboostwithpip.