'import keras.layers'没有给出名为keras的模块错误,但是如果在cmd中运行则完全可以

时间:2018-12-31 00:33:17

标签: keras

运行pytest抱怨该问题(import语句在test_nn.py中)。但是,如果我要在cmd中运行“ python”并直接运行完全相同的import语句,则不会出错。

过去很好。

enter image description here

0 个答案:

没有答案