title: Python Libraries installing to Python 2.7 by default
body: <p>I recently shifted to a Macbook. I installed Python 3.8 and installed Pyperclip using <code>pip install pyperclip</code> in the terminal, which was successful. When I tried to import it in IDLE shell, I get the error</p>
  <blockquote>
  <p>ModuleNotFoundError: No module named 'pyperclip'.</p>
  </blockquote>
  <hr />
  <p>On looking around I found that pyperclip has been installed in-</p>
  <pre><code>/Users/aamodpant/Library/Python/2.7/lib/python/site-packages/pyperclip
  </code></pre>
  <p>I did not install Python 2.7 but it must be required for macOS, so I don't want to delete it. How do I change the &quot;default&quot; version of Python for installing new libraries?</p>