ImportError: dlopen: cannot load any more object with static TLS

执行python文件的时候有时候会出现这个报错:

ImportError: dlopen: cannot load any more object with static TLS

原因有点奇怪,可能是因为import的包太多了

把你报错的那个包放到最前面import,或者多搞几个文件,每个文件少一些import试试

 

参考:

https://github.com/r9y9/deepvoice3_pytorch/issues/28

 

posted @ 2019-07-19 17:31  sbj123456789  阅读(8782)  评论(0编辑  收藏  举报