title: How to fix ModuleNotFoundError: No module named 'pip._internal' with python source code installation
body: <p>I have installed python3.7 on redhat machine by compiling source code but I have a problem when dealing with pip3. I have made this steps after installation:</p>
  
  <pre class="lang-sh prettyprint-override"><code>sudo ln /usr/local/bin/python3.7 /usr/bin/python3
  
  sudo ln /usr/local/bin/pip3.7 /usr/bin/pip3
  </code></pre>
  
  <p>python3 -- version gives Python 3.7.3</p>
  
  <p>But I have this errors by running these commands :</p>
  
  <pre class="lang-sh prettyprint-override"><code>python3 -m pip install requests
  </code></pre>
  
  <p>gives <strong>/usr/bin/python3: No module named pip.__main__; 'pip' is a package and cannot be directly executed</strong></p>
  
  <pre class="lang-sh prettyprint-override"><code>pip3 install requests
  </code></pre>
  
  <p>gives <strong>ModuleNotFoundError: No module named 'pip._internal'</strong></p>