title: Missing Python 3.7 shared library
body: <p>Running Ubuntu 18.04. Need to access the Python 3.7 shared object file. First I did:</p>
  
  <pre><code>sudo apt install python3
  [...]
  
  emil@emil-Gazelle:/usr/local/lib$ ldconfig -p | grep python
      libpython3.6m.so.1.0 (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libpython3.6m.so.1.0
      libpython3.6m.so (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libpython3.6m.so
      libpython2.7.so.1.0 (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
      libpyglib-2.0-python2.7.so.0 (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libpyglib-2.0-python2.7.so.0
  </code></pre>
  
  <p>So it looks like Python 3.6 is installed. I need 3.7. I followed the guide at <a href="https://websiteforstudents.com/installing-the-latest-python-3-7-on-ubuntu-16-04-18-04/" rel="nofollow noreferrer">https://websiteforstudents.com/installing-the-latest-python-3-7-on-ubuntu-16-04-18-04/</a>, and it installs Python 3.7 successfully:</p>
  
  <pre><code>emil@emil-Gazelle:/usr/local/lib$ python3.7 --version
  Python 3.7.4
  
  sudo ldconfig &amp;&amp; ldconfig -p | grep python
  </code></pre>
  
  <p>still yields the same thing, so my program can't access the shared object file. How can I install Python 3.7 in such a way that it exposes the library file?</p>