0

我正在按照flow/tutorials/README.md设置教程环境,但我仍然有一些错误。

当我打开jupyter notebook界面时,'kernel'里面有五个环境:python2, python[conda env:enter], python[conda env:flow], python[conda root], python[default]. 这些内核我试过了,但我仍然得到一个错误。

"enter"在python env[conda env:enter]中是我自己下载的anaconda。)

from flow.scenarios.loop import LoopScenario

ImportError Traceback (last last call last) in () ----> 1 from flow.scenarios.loop import LoopScenario

ImportError:没有名为“流”的模块```

4

1 回答 1

1

打开一个新终端并运行以下命令:

cd /
source activate flow
python

cd /是确保flow不在您运行的文件夹python中)

然后在打开的 Python 界面中,运行import flow.

尝试导入时是否出现错误?

于 2019-07-12T05:43:26.880 回答