5

一个.py:

import numpy

柴堆

a.py:1:0 Undefined import [21]: Could not find a module corresponding to import `numpy`.

虽然我肯定安装了 numpy。

环境:Ubuntu,python 3.7.1,pyre 0.0.22,numpy 1.16.2

4

1 回答 1

3

好的,我知道了。需要安装numpy-stubs

于 2019-04-23T04:50:27.947 回答