<p dir="auto">Hi</p>
<p dir="auto">My env is Linux 2.6.32 cuda 8.0 python 2.7. Install pytorch by pip install <a href="https://s3.amazonaws.com/pytorch/whl/cu80/torch-0.1.8.post1-cp27-none-linux_x86_64.whl" rel="nofollow">https://s3.amazonaws.com/pytorch/whl/cu80/torch-0.1.8.post1-cp27-none-linux_x86_64.whl</a></p>
<p dir="auto">The installation is successful However I got the error by import torch.</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">on linux, python-2.7, cuda-7.5, installed using pip.</p>
<p dir="auto"><code class="notranslate">import torch</code> it gives the error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import torch
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/home/jingleng/.local/lib/python2.7/site-packages/torch/__init__.py&quot;, line 45, in &lt;module&gt;
    from torch._C import *
ImportError: /home/jingleng/.local/lib/python2.7/site-packages/torch/_C.so: undefined symbol: PyUnicodeUCS4_AsUTF8String"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; import torch
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/home/jingleng/.local/lib/python2.7/site-packages/torch/__init__.py", line 45, in &lt;module&gt;
    from torch._C import *
ImportError: /home/jingleng/.local/lib/python2.7/site-packages/torch/_C.so: undefined symbol: PyUnicodeUCS4_AsUTF8String
</code></pre></div>