Skip to content

docs and installation fails #9

@karlcow

Description

@karlcow

https://webcompat-ml.readthedocs.io/en/latest/installation.html

~/code/webcompat-ml % python3 -m venv env
~/code/webcompat-ml % . env/bin/activate
(env) ~/code/webcompat-ml % pip install .
Processing /Users/karl/code/webcompat-ml
Collecting scikit-learn (from webcompat-ml==0.0.1)
  Downloading https://files.pythonhosted.org/packages/2f/c3/431de428dee36c577dec2097130fc5da8ebf8b51b0349e85d1cfa2088595/scikit_learn-0.22.2-cp37-cp37m-macosx_10_9_x86_64.whl (7.1MB)
    100% |████████████████████████████████| 7.1MB 3.3MB/s 
Collecting pandas (from webcompat-ml==0.0.1)
  Downloading https://files.pythonhosted.org/packages/ab/ba/f97030b7e8ec0a981abdca173de4e727b3a7b4ed5dba492f362ba87d59a2/pandas-1.0.1-cp37-cp37m-macosx_10_9_x86_64.whl (9.8MB)
    100% |████████████████████████████████| 9.8MB 4.3MB/s 
Collecting xgboost (from webcompat-ml==0.0.1)
  Downloading https://files.pythonhosted.org/packages/7d/9d/dcd1e61fd0eeea1c2ed4fa32761e437012776d08530666b5ce843b45fc32/xgboost-1.0.1.tar.gz (820kB)
    100% |████████████████████████████████| 829kB 18.7MB/s 
    Complete output from command python setup.py egg_info:
    ++ pwd
    + oldpath=/private/var/folders/bg/lmsn8jdx47748dbg0nrh2m8h0000gn/T/pip-install-0surdc8j/xgboost
    + cd ./xgboost/
    + mkdir -p build
    + cd build
    + cmake ..
    ./xgboost/build-python.sh: line 21: cmake: command not found
    + echo -----------------------------
    -----------------------------
    + echo 'Building multi-thread xgboost failed'
    Building multi-thread xgboost failed
    + echo 'Start to build single-thread xgboost'
    Start to build single-thread xgboost
    + cmake .. -DUSE_OPENMP=0
    ./xgboost/build-python.sh: line 27: cmake: command not found
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/bg/lmsn8jdx47748dbg0nrh2m8h0000gn/T/pip-install-0surdc8j/xgboost/setup.py", line 42, in <module>
        LIB_PATH = libpath['find_lib_path']()
      File "/private/var/folders/bg/lmsn8jdx47748dbg0nrh2m8h0000gn/T/pip-install-0surdc8j/xgboost/xgboost/libpath.py", line 50, in find_lib_path
        'List of candidates:\n' + ('\n'.join(dll_path)))
    XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?
    List of candidates:
    /private/var/folders/bg/lmsn8jdx47748dbg0nrh2m8h0000gn/T/pip-install-0surdc8j/xgboost/xgboost/libxgboost.dylib
    /private/var/folders/bg/lmsn8jdx47748dbg0nrh2m8h0000gn/T/pip-install-0surdc8j/xgboost/xgboost/../../lib/libxgboost.dylib
    /private/var/folders/bg/lmsn8jdx47748dbg0nrh2m8h0000gn/T/pip-install-0surdc8j/xgboost/xgboost/./lib/libxgboost.dylib
    /Users/karl/code/webcompat-ml/env/xgboost/libxgboost.dylib
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/bg/lmsn8jdx47748dbg0nrh2m8h0000gn/T/pip-install-0surdc8j/xgboost/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions