質問編集履歴

4

エラー改善追記をしました。

2018/05/13 08:24

投稿

astromelt0416
astromelt0416

スコア15

test CHANGED
File without changes
test CHANGED
@@ -256,6 +256,12 @@
256
256
 
257
257
  ```
258
258
 
259
+ #エラー改善追記
260
+
261
+ ![イメージ説明](be963e13da77f122c5af3fc20ae46ccf.png)
262
+
263
+
264
+
259
265
  ### 試したこと
260
266
 
261
267
  参考URLにおける[ほかのコード](https://github.com/Nil26/Kosterlitz-Thouless-PT/blob/master/KT.py)による計算で「output.data」という計算結果を羅列したファイルが保存される仕組みになっていました。このファイルを使うのか、使うとすればこれをどこにしまっておけば正常に進むかどうかはわかりません。

3

エラー情報の追加をしました。

2018/05/13 08:24

投稿

astromelt0416
astromelt0416

スコア15

test CHANGED
File without changes
test CHANGED
@@ -186,6 +186,76 @@
186
186
 
187
187
  ```
188
188
 
189
+ #エラー追記2
190
+
191
+ ```
192
+
193
+ Error in callback <function install_repl_displayhook.<locals>.post_execute at 0x0000021DB4D6F950> (for post_execute):
194
+
195
+ ---------------------------------------------------------------------------
196
+
197
+ FileNotFoundError Traceback (most recent call last)
198
+
199
+ ~\Anaconda3\lib\site-packages\matplotlib\pyplot.py in post_execute()
200
+
201
+ 148 def post_execute():
202
+
203
+ 149 if matplotlib.is_interactive():
204
+
205
+ --> 150 draw_all()
206
+
207
+ 151
208
+
209
+ 152 # IPython >= 2
210
+
211
+
212
+
213
+ ~\Anaconda3\lib\site-packages\matplotlib\_pylab_helpers.py in draw_all(cls, force)
214
+
215
+ 148 for f_mgr in cls.get_all_fig_managers():
216
+
217
+ 149 if force or f_mgr.canvas.figure.stale:
218
+
219
+ --> 150 f_mgr.canvas.draw_idle()
220
+
221
+ 151
222
+
223
+ 152 atexit.register(Gcf.destroy_all)
224
+
225
+ ```
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+ ```ここに言語を入力
234
+
235
+
236
+
237
+ ~\Anaconda3\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
238
+
239
+ 995 env,
240
+
241
+ 996 os.fspath(cwd) if cwd is not None else None,
242
+
243
+ --> 997 startupinfo)
244
+
245
+ 998 finally:
246
+
247
+ 999 # Child is launched. Close the parent's copy of those pipe
248
+
249
+
250
+
251
+ FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
252
+
253
+
254
+
255
+ <matplotlib.figure.Figure at 0x21db56dd400>
256
+
257
+ ```
258
+
189
259
  ### 試したこと
190
260
 
191
261
  参考URLにおける[ほかのコード](https://github.com/Nil26/Kosterlitz-Thouless-PT/blob/master/KT.py)による計算で「output.data」という計算結果を羅列したファイルが保存される仕組みになっていました。このファイルを使うのか、使うとすればこれをどこにしまっておけば正常に進むかどうかはわかりません。

2

エラー情報(一部)を追加しました

2018/05/13 08:03

投稿

astromelt0416
astromelt0416

スコア15

test CHANGED
File without changes
test CHANGED
@@ -44,6 +44,148 @@
44
44
 
45
45
 
46
46
 
47
+ #エラー追記
48
+
49
+ ```ここに言語を入力
50
+
51
+ [Text(1,0,'\pi'), Text(1,0,'0'), Text(1,0,'-\pi')]
52
+
53
+ Error in callback <function install_repl_displayhook.<locals>.post_execute at 0x0000021DB4D6F950> (for post_execute):
54
+
55
+ ---------------------------------------------------------------------------
56
+
57
+ FileNotFoundError Traceback (most recent call last)
58
+
59
+ ~\Anaconda3\lib\site-packages\matplotlib\pyplot.py in post_execute()
60
+
61
+ 148 def post_execute():
62
+
63
+ 149 if matplotlib.is_interactive():
64
+
65
+ --> 150 draw_all()
66
+
67
+ 151
68
+
69
+ 152 # IPython >= 2
70
+
71
+
72
+
73
+ ~\Anaconda3\lib\site-packages\matplotlib\_pylab_helpers.py in draw_all(cls, force)
74
+
75
+ 148 for f_mgr in cls.get_all_fig_managers():
76
+
77
+ 149 if force or f_mgr.canvas.figure.stale:
78
+
79
+ --> 150 f_mgr.canvas.draw_idle()
80
+
81
+ 151
82
+
83
+ 152 atexit.register(Gcf.destroy_all)
84
+
85
+
86
+
87
+ ~\Anaconda3\lib\site-packages\matplotlib\backend_bases.py in draw_idle(self, *args, **kwargs)
88
+
89
+ 2059 if not self._is_idle_drawing:
90
+
91
+ 2060 with self._idle_draw_cntx():
92
+
93
+ -> 2061 self.draw(*args, **kwargs)
94
+
95
+ 2062
96
+
97
+ 2063 def draw_cursor(self, event):
98
+
99
+
100
+
101
+ ~\Anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py in draw(self)
102
+
103
+ 428 # if toolbar:
104
+
105
+ 429 # toolbar.set_cursor(cursors.WAIT)
106
+
107
+ --> 430 self.figure.draw(self.renderer)
108
+
109
+ 431 finally:
110
+
111
+ 432 # if toolbar:
112
+
113
+
114
+
115
+ ~\Anaconda3\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs)
116
+
117
+ 53 renderer.start_filter()
118
+
119
+ 54
120
+
121
+ ---> 55 return draw(artist, renderer, *args, **kwargs)
122
+
123
+ 56 finally:
124
+
125
+ 57 if artist.get_agg_filter() is not None:
126
+
127
+
128
+
129
+ ~\Anaconda3\lib\site-packages\matplotlib\figure.py in draw(self, renderer)
130
+
131
+ 1297
132
+
133
+ 1298 mimage._draw_list_compositing_images(
134
+
135
+ -> 1299 renderer, self, artists, self.suppressComposite)
136
+
137
+ 1300
138
+
139
+ 1301 renderer.close_group('figure')
140
+
141
+
142
+
143
+ ```
144
+
145
+ .
146
+
147
+ .
148
+
149
+ .
150
+
151
+ ```ここに言語を入力
152
+
153
+ ~\Anaconda3\lib\subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors)
154
+
155
+ 707 c2pread, c2pwrite,
156
+
157
+ 708 errread, errwrite,
158
+
159
+ --> 709 restore_signals, start_new_session)
160
+
161
+ 710 except:
162
+
163
+ 711 # Cleanup if the child failed starting.
164
+
165
+
166
+
167
+ ~\Anaconda3\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
168
+
169
+ 995 env,
170
+
171
+ 996 os.fspath(cwd) if cwd is not None else None,
172
+
173
+ --> 997 startupinfo)
174
+
175
+ 998 finally:
176
+
177
+ 999 # Child is launched. Close the parent's copy of those pipe
178
+
179
+
180
+
181
+ FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
182
+
183
+
184
+
185
+ <matplotlib.figure.Figure at 0x21db4ed06d8>
186
+
187
+ ```
188
+
47
189
  ### 試したこと
48
190
 
49
191
  参考URLにおける[ほかのコード](https://github.com/Nil26/Kosterlitz-Thouless-PT/blob/master/KT.py)による計算で「output.data」という計算結果を羅列したファイルが保存される仕組みになっていました。このファイルを使うのか、使うとすればこれをどこにしまっておけば正常に進むかどうかはわかりません。

1

体裁を整えました

2018/05/13 07:47

投稿

astromelt0416
astromelt0416

スコア15

test CHANGED
File without changes
test CHANGED
File without changes