kundajelab / bpnet

Toolkit to train base-resolution deep neural networks on functional genomics data and to interpret them
http://bit.ly/bpnet-colab
MIT License
141 stars 33 forks source link

Cannot import name `AsyncKernelManager` in bpnet training step of Colab notebook #13

Closed an1lam closed 4 years ago

an1lam commented 4 years ago

When I originally ran the Colab notebook, I got an error that prevented the evaluation step of training from completing successfully:

Error: ImportError: cannot import name 'AsyncKernelManager' from 'jupyter_client`

I resolved this by adding !pip install jupyterclient==6.1.2 to the end of the pip install cell as suggested here, but this is admittedly a bit of a hack.

That said, I figured creating an issue so that others could find the solution easily was better than just fixing it silently.

Avsecz commented 4 years ago

Thanks! I've added the requirement to the setup.py as well as added the hack to the colab notebook temporarily. Let me know if that doesn't work.