What version of OS you have? It might be a problem with glibc
, to check it run ldd --version
See more info here: ImportError: dlopen: cannot load any more object with static TLS with torch built with gcc 5.5 · Issue #14485 · scikit-learn/scikit-learn · GitHub
Cheers
V