title: How to Install pip for python 3.7 on Ubuntu 18?
body: <p>I've installed Python 3.7 on my Ubuntu 18.04 machine. Following this instructions in case it's relevant:</p>
  <blockquote>
  <p>Download : Python 3.7 from Python Website [1] ,on Desktop and manually
  unzip it, on Desktop Installation : Open Terminal (ctrl +shift+T)</p>
  <pre><code>Go to the Extracted folder
  $ cd ~/Desktop/Python-3.7.0
  $ ./configure
  $ make
  $ sudo make install
  </code></pre>
  <p>Making Python 3.7 default Python :</p>
  <pre><code>$ sudo vim ~/.bashrc
  press i
  on the last and new line - Type
  alias python= python3.7
  press Esc
  type - to save and exit vim
  :wq
  now type
  $ source ~/.bashrc
  </code></pre>
  </blockquote>
  <p>From here: <a href="https://www.quora.com/How-can-I-upgrade-Python-3-6-to-3-7-in-Ubuntu-18-04" rel="nofollow noreferrer">https://www.quora.com/How-can-I-upgrade-Python-3-6-to-3-7-in-Ubuntu-18-04</a></p>
  <p>I've downloaded several modules through <code>pip install module</code> but when I try to import them, I get a <code>ModuleNotFoundError: No module names 'xx'</code></p>
  <p>So I did some research and apparently when used pip to install, it installed in the modules in previous version of Python.
  Somewhere (probably a question in SO) I found a suggestion to install the module using <code>python3.7 -m pip install module</code> but then I get <code>/usr/local/bin/python3.7: no module named pip</code>.</p>
  <p>Now I'm stuck, pip is installed, but apparently not for Python 3.7. I'm assuming that if I can install pip for Python 3.7, I can run the pip install command and get the modules I need.
  If that is the case, how can I install pip for python 3.7, since it's already installed?</p>
  <hr />
  <p>This is the best I have come up with:</p>
  <p>I have installed python 3.7 successfully and I can install modules using pip (or pip3) but those modules are installed in Python 3.6 (Comes with ubuntu). Therefore I can't import those modules in python 3.7 (get a module not found)</p>
  <p>Python 3.7 doesn't recognize pip/pip3, so I can't install through pip/pip3
  I need python 3.7</p>