0
votes

I'm following the flow/tutorials/README.md to set up the tutorial environment, but I still have some errors.

When I open the jupyter notebook interface, there are five environments in the 'kernel': python2, python[conda env:enter], python[conda env:flow], python[conda root], python[default]. These kernels I have tried, but I still get an error.

(The "enter" in python env [conda env:enter] is my own downloaded anaconda.)

from flow.scenarios.loop import LoopScenario

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

ImportError: No module named 'flow'```

1
I can successfully import tensorflow in jupyter notebook,but i don't know why "Flow" can't.jing
BTW:I am running in the case of the "Python[conda env:flow]", show "ImportError: No module named flow"jing

1 Answers

1
votes

Open a new terminal and run the following:

cd /
source activate flow
python

(cd / is to make sure flow is not in the folder you run python from)

Then in the Python interface that opens, run import flow.

Do you get an error when trying to import?