質問編集履歴
3
追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -32,4 +32,16 @@
|
|
32
32
|
sys.version
|
33
33
|
>>>'3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]'
|
34
34
|
```
|
35
|
-
jupyternotebook,visualstudioは2017がもともと入っていましたがUnable to find vcvarsall.batというエラー解決のため2015も入れています。当方まだまだ初心者なので足りない情報等あれば追加いたします。
|
35
|
+
jupyternotebook,visualstudioは2017がもともと入っていましたがUnable to find vcvarsall.batというエラー解決のため2015も入れています。当方まだまだ初心者なので足りない情報等あれば追加いたします。
|
36
|
+
### 追記
|
37
|
+
```python
|
38
|
+
%%cython --verbose
|
39
|
+
def cyth(n):
|
40
|
+
a, b = 0, 1
|
41
|
+
for i in range(n):
|
42
|
+
a, b = a + b, a
|
43
|
+
return a
|
44
|
+
```実行結果
|
45
|
+
[1/1] Cythonizing C:\Users\username.ipython\cython\_cython_magic_da5bc2352422b75fecffa817881bbebf.pyx
|
46
|
+
building '_cython_magic_da5bc2352422b75fecffa817881bbebf' extension
|
47
|
+
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\username\anaconda3\include -IC:\Users\username\anaconda3\include /TcC:\Users\username.ipython\cython\_cython_magic_da5bc2352422b75fecffa817881bbebf.c /FoC:\Users\username.ipython\cython\Users\username.ipython\cython\_cython_magic_da5bc2352422b75fecffa817881bbebf.obj
|
2
タグ追加
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
1
タグ追加
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|