title: I'm getting ModuleNotFoundError: No module named _socket on ubuntu 18.04
body: <p>I installed Anaconda3 on ubuntu and changed the path to ~/anaconda/bin in .bashrc file then I'm trying to install keras It's throwing this error.</p>
  
  <pre><code>hemanth@specter:~$ python3 -m pip install keras
  Traceback (most recent call last):
    File "/home/hemanth/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
      "__main__", mod_spec)
    File "/home/hemanth/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
      exec(code, run_globals)
    File "/home/hemanth/anaconda3/lib/python3.7/site-packages/pip/__main__.py", line 16, in &lt;module&gt;
      from pip._internal import main as _main  # isort:skip # noqa
    File "/home/hemanth/anaconda3/lib/python3.7/site-packages/pip/_internal/__init__.py", line 19, in &lt;module&gt;
      from pip._vendor.urllib3.exceptions import DependencyWarning
    File "/home/hemanth/anaconda3/lib/python3.7/site-packages/pip/_vendor/urllib3/__init__.py", line 8, in &lt;module&gt;
      from .connectionpool import (
    File "/home/hemanth/anaconda3/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 7, in &lt;module&gt;
      from socket import error as SocketError, timeout as SocketTimeout
    File "/home/hemanth/anaconda3/lib/python3.7/socket.py", line 49, in &lt;module&gt;
      import _socket
  ModuleNotFoundError: No module named '_socket'
  </code></pre>