指定jupyter运行的conda环境和报错处理generator_to_async_generator
安装nb_conda_kernels
conda install nb_conda_kernels
notebook的change kernel中切换虚拟环境
参考:https://github.com/Anaconda-Platform/nb_conda_kernels
报错:ImportError: cannot import name ‘generator_to_async_generator’
参考:https://github.com/ipython/ipython/issues/11270
1 | pip uninstall -y ipython prompt_toolkit |