teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

情報の追加

2018/11/19 04:55

投稿

dal
dal

スコア38

title CHANGED
File without changes
body CHANGED
@@ -24,4 +24,43 @@
24
24
  ```
25
25
  を実行したのですが、やはり上と同じようなエラーを吐かれてしまいます。
26
26
 
27
- 詳しい方がいましたら、解決方法を教えていただきたいです。
27
+ 詳しい方がいましたら、解決方法を教えていただきたいです。
28
+
29
+ ######追加補足
30
+ エラー文に以下のような文もありました。
31
+ ```
32
+ /usr/local/Cellar/gcc@5/5.5.0_2/include/c++/5.5.0/cwchar:44:19: fatal error: wchar.h: No such file or directory
33
+ compilation terminated.
34
+ make: *** [build/c_api/c_api_error.o] Error 1
35
+ make: *** Waiting for unfinished jobs....
36
+ g++-5 -c -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -DDISABLE_OPENMP src/c_api/c_api.cc -o build/c_api/c_api.o
37
+ In file included from dmlc-core/include/dmlc/logging.h:10:0,
38
+ from include/xgboost/logging.h:11,
39
+ from src/logging.cc:7:
40
+ /usr/local/Cellar/gcc@5/5.5.0_2/include/c++/5.5.0/cstdio:42:19: fatal error: stdio.h: No such file or directory
41
+ compilation terminated.
42
+ make: *** [build/logging.o] Error 1
43
+ In file included from include/xgboost/data.h:10:0,
44
+ from src/c_api/c_api.cc:3:
45
+ dmlc-core/include/dmlc/base.h:194:23: fatal error: sys/types.h: No such file or directory
46
+ compilation terminated.
47
+ make: *** [build/c_api/c_api.o] Error 1
48
+ g++-5 -c -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -DDISABLE_OPENMP src/learner.cc -o build/learner.o
49
+ In file included from dmlc-core/include/dmlc/io.h:8:0,
50
+ from src/learner.cc:7:
51
+ /usr/local/Cellar/gcc@5/5.5.0_2/include/c++/5.5.0/cstdio:42:19: fatal error: stdio.h: No such file or directory
52
+ compilation terminated.
53
+ make: *** [build/learner.o] Error 1
54
+ Traceback (most recent call last):
55
+ File "<string>", line 1, in <module>
56
+ File "/private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/setup.py", line 42, in <module>
57
+ LIB_PATH = libpath['find_lib_path']()
58
+ File "/private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/libpath.py", line 49, in find_lib_path
59
+ 'List of candidates:\n' + ('\n'.join(dll_path)))
60
+ XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?
61
+ List of candidates:
62
+ /private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/libxgboost.dylib
63
+ /private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/../../lib/libxgboost.dylib
64
+ /private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/./lib/libxgboost.dylib
65
+ /anaconda3/xgboost/libxgboost.dylib
66
+ ```

1

誤字の修正

2018/11/19 04:55

投稿

dal
dal

スコア38

title CHANGED
File without changes
body CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  xcode-select --install
20
20
  ```
21
- ったコマンドを試してから再び
21
+ ったコマンドを試してから再び
22
22
  ```terminal
23
23
  pip install xgboost
24
24
  ```