質問編集履歴

2

情報の追加

2018/11/19 04:55

投稿

dal
dal

スコア38

test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,81 @@
51
51
 
52
52
 
53
53
  詳しい方がいましたら、解決方法を教えていただきたいです。
54
+
55
+
56
+
57
+ ######追加補足
58
+
59
+ エラー文に以下のような文もありました。
60
+
61
+ ```
62
+
63
+ /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
64
+
65
+ compilation terminated.
66
+
67
+ make: *** [build/c_api/c_api_error.o] Error 1
68
+
69
+ make: *** Waiting for unfinished jobs....
70
+
71
+ 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
72
+
73
+ In file included from dmlc-core/include/dmlc/logging.h:10:0,
74
+
75
+ from include/xgboost/logging.h:11,
76
+
77
+ from src/logging.cc:7:
78
+
79
+ /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
80
+
81
+ compilation terminated.
82
+
83
+ make: *** [build/logging.o] Error 1
84
+
85
+ In file included from include/xgboost/data.h:10:0,
86
+
87
+ from src/c_api/c_api.cc:3:
88
+
89
+ dmlc-core/include/dmlc/base.h:194:23: fatal error: sys/types.h: No such file or directory
90
+
91
+ compilation terminated.
92
+
93
+ make: *** [build/c_api/c_api.o] Error 1
94
+
95
+ 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
96
+
97
+ In file included from dmlc-core/include/dmlc/io.h:8:0,
98
+
99
+ from src/learner.cc:7:
100
+
101
+ /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
102
+
103
+ compilation terminated.
104
+
105
+ make: *** [build/learner.o] Error 1
106
+
107
+ Traceback (most recent call last):
108
+
109
+ File "<string>", line 1, in <module>
110
+
111
+ File "/private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/setup.py", line 42, in <module>
112
+
113
+ LIB_PATH = libpath['find_lib_path']()
114
+
115
+ File "/private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/libpath.py", line 49, in find_lib_path
116
+
117
+ 'List of candidates:\n' + ('\n'.join(dll_path)))
118
+
119
+ XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?
120
+
121
+ List of candidates:
122
+
123
+ /private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/libxgboost.dylib
124
+
125
+ /private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/../../lib/libxgboost.dylib
126
+
127
+ /private/var/folders/k0/r2yklh0d65g2cy4tk31r67x00000gn/T/pip-install-fq6vnnbh/xgboost/xgboost/./lib/libxgboost.dylib
128
+
129
+ /anaconda3/xgboost/libxgboost.dylib
130
+
131
+ ```

1

誤字の修正

2018/11/19 04:55

投稿

dal
dal

スコア38

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  ```
40
40
 
41
- ったコマンドを試してから再び
41
+ ったコマンドを試してから再び
42
42
 
43
43
  ```terminal
44
44