Almenon / Almenon/AREPL-vscode

Error with numpy

未关闭
#386 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug has-workaround
主要语言
TypeScript
星标
301
派生
46
PR 合并指标
30 天内没有已合并 PR

描述

I am using VS code with Python 3.7.6 64-bit. The code below run in termial fine ( prints the array) however, it returns error below using AREPL.

```python
import numpy as np
a = [[1,4,7],[2,9,7],[1,3,0],[9,6,9]]
b = [[2,3,4],[2,2,2], [1,1,1],[0,0,0]]
A = np.array([a,b])
print(A)
```

Here is the error:
```Traceback (most recent call last):
line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/__init__.py", line 142, in
from . import core
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/core/__init__.py", line 16, in
from . import multiarray
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/core/multiarray.py", line 12, in
from . import overrides
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/core/overrides.py", line 46, in
""")
RuntimeError: implement_array_function method already has a docstring

Print Output:
Variables:
{}```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。