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

mac2022-06-30  36

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

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

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

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

 

参考:

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

 

转载于:https://www.cnblogs.com/sbj123456789/p/11214632.html

最新回复(0)