質問編集履歴
3
アドバイスを受けて, 試したことについて追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -143,3 +143,27 @@
|
|
143
143
|
|
144
144
|
|
145
145
|
解決する方法を知りたいです.
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
【追記】:[こちら](https://github.com/pyenv/pyenv/wiki/Common-build-problems)のリンクを参照し, MacOSの方を試したのですが, 以下のパスが無効であると出てしましました。
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
`ターミナル`
|
154
|
+
|
155
|
+
```
|
156
|
+
|
157
|
+
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
|
158
|
+
|
159
|
+
```
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
`エラー`
|
164
|
+
|
165
|
+
```
|
166
|
+
|
167
|
+
installer: Error the package path specified was invalid: '/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg'.
|
168
|
+
|
169
|
+
```
|
2
エラー内容について再度更新しました.
test
CHANGED
File without changes
|
test
CHANGED
@@ -96,6 +96,12 @@
|
|
96
96
|
|
97
97
|
```html
|
98
98
|
|
99
|
+
INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_183562d9f6b65150bf16967dbf614eac NOW.
|
100
|
+
|
101
|
+
/Users/myname/miniconda3/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /var/folders/k3/5_y8h_552gv2n875280rv_600000gn/T/tmpromycksj/stanfit4anon_model_183562d9f6b65150bf16967dbf614eac_110513922084137191.pyx
|
102
|
+
|
103
|
+
tree = Parsing.p_module(s, pxd, full_module_name)
|
104
|
+
|
99
105
|
Traceback (most recent call last):
|
100
106
|
|
101
107
|
File "/Users/myname/Desktop/THESIS PROGRAMING/pystan_try.py", line 39, in <module>
|
1
エラー内容について更新しましたm(_ _)m
test
CHANGED
File without changes
|
test
CHANGED
@@ -96,6 +96,40 @@
|
|
96
96
|
|
97
97
|
```html
|
98
98
|
|
99
|
+
Traceback (most recent call last):
|
100
|
+
|
101
|
+
File "/Users/myname/Desktop/THESIS PROGRAMING/pystan_try.py", line 39, in <module>
|
102
|
+
|
103
|
+
stm = StanModel(model_code = model)
|
104
|
+
|
105
|
+
File "/Users/myname/miniconda3/lib/python3.6/site-packages/pystan/model.py", line 350, in __init__
|
106
|
+
|
107
|
+
build_extension.run()
|
108
|
+
|
109
|
+
File "/Users/myname/miniconda3/lib/python3.6/distutils/command/build_ext.py", line 339, in run
|
110
|
+
|
111
|
+
self.build_extensions()
|
112
|
+
|
113
|
+
File "/Users/myname/miniconda3/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
|
114
|
+
|
115
|
+
self._build_extensions_serial()
|
116
|
+
|
117
|
+
File "/Users/myname/miniconda3/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
|
118
|
+
|
119
|
+
self.build_extension(ext)
|
120
|
+
|
121
|
+
File "/Users/myname/miniconda3/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
|
122
|
+
|
123
|
+
depends=ext.depends)
|
124
|
+
|
125
|
+
File "/Users/myname/miniconda3/lib/python3.6/distutils/ccompiler.py", line 574, in compile
|
126
|
+
|
127
|
+
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
|
128
|
+
|
129
|
+
File "/Users/myname/miniconda3/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile
|
130
|
+
|
131
|
+
raise CompileError(msg)
|
132
|
+
|
99
133
|
distutils.errors.CompileError: command 'gcc' failed with exit status 1
|
100
134
|
|
101
135
|
```
|