简体   繁体   中英

How do I debug a module that kills my kernel on import to Jupyter?

Every time I import nlpaug.augmenter.word from the NLPAug package into a Jupyter notebook, my kernel dies.

This is frustrating. But also frustrating is I can't figure out what is going on with the import when my kernel dies, If I had that. I'd have a better sense of what was going wrong.

This only happens on a Google VM (8 CPUs, 30 GB), but not on my less-powerful MacBook... but I want to use the package on the (much more powerful) VM.

Is there a way to make the import function less opaque?

Can you share more information about that? I also use this library in an even bigger VM without issue.

I guest it is caused by kernel corruption

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM