我是在TensorFlow的教程中发现的报错:
执行这行代码会报错:Cannot run the event loop while another loop is running
解决方法:
在 jupyter-notebook 的一个单元格中输入:
!pip install nest_asyncio
import nest_asyncio
nest_asyncio.apply()
我是在TensorFlow的教程中发现的报错:
执行这行代码会报错:Cannot run the event loop while another loop is running
解决方法:
在 jupyter-notebook 的一个单元格中输入:
!pip install nest_asyncio
import nest_asyncio
nest_asyncio.apply()