Jupyter dlopen cannot load any more object with static TLS
A weird problem that execute "import torch" in bash works but when you run it in Jupyter notebook:
ImportError Traceback (most recent call last)
<ipython-input-4-8ba1970b60ce> in <module>
6 import random
7
----> 8 import torch
9 import torch.nn as nn
10
~/miniconda3/envs/tf/lib/python3.6/site-packages/torch/__init__.py in <module>
79 del _dl_flags
80
---> 81 from torch._C import *
82
83 __all__ += [name for name in dir(_C)
ImportError: dlopen: cannot load any more object with static TLS