ImportError: libc10.so: cannot open shared object file: No such file or directory
While running smdataparallel, I see following error
# python
Python 3.6.10 |Anaconda, Inc.| (default, May  8 2020, 02:54:21)
[GCC 7.3.0] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import smdistributed.dataparallel.torch.distributed as dist
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/opt/conda/lib/python3.6/site-packages/smdistributed/dataparallel/__init__.py&quot;, line 16, in &lt;module&gt;
    import smddpcommon as hc
ImportError: libc10.so: cannot open shared object file: No such file or directory


libc10.so is made available by pytorch. Hence first
import torch

and then import packages that depend on pytorch.
