add more guideline about python path

This commit is contained in:
tqchen 2014-08-18 14:12:35 -07:00
parent 3b02fb26b0
commit 3de07b0abe

View File

@ -3,6 +3,7 @@ import sys
import numpy as np
import scipy.sparse
# append the path to xgboost, you may need to change the following line
# alternatively, you can add the path to PYTHONPATH environment variable
sys.path.append('../')
import xgboost as xgb