title: Received an error message when installing Beautiful Soup4 on Mac
body: <p>I am using a Mac and I get an error message on my terminal when I try to install Beautiful Soup. I have Python 3 installed already.</p>
  
  <p>This is what I did after unpacking the Beautiful Soup zip file</p>
  
  <pre><code>$ cd Users/thepredestrian/Desktop/beautifulsoup4-4.4.1
  
  $ python setup.py install
  </code></pre>
  
  <p>This is the error message that appears:</p>
  
  <blockquote>
    <p>Checking .pth file support in /Library/Python/2.7/site-packages/
    error: can't create or remove files in install directory</p>
    
    <p>The following error occurred while trying to add or remove files in
    the installation directory:</p>
  
  <pre><code>[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-966.pth'
  </code></pre>
    
    <p>The installation directory you specified (via --install-dir, --prefix,
    or the distutils default setting) was:</p>
  
  <pre><code>/Library/Python/2.7/site-packages/
  </code></pre>
  </blockquote>
  
  <p>Perhaps your account does not have write access to this directory?  If the
  installation directory is a system-owned directory, you may need to sign in
  as the administrator or "root" account.  If you do not have administrative
  access to this machine, you may wish to choose a different installation
  directory, preferably one that is listed in your PYTHONPATH environment
  variable.</p>
  
  <p>For information on other options, you may wish to consult the
  documentation at:</p>
  
  <p><a href="https://pythonhosted.org/setuptools/easy_install.html" rel="nofollow">https://pythonhosted.org/setuptools/easy_install.html</a></p>
  
  <p>Please make the appropriate changes for your system and try again</p>
  
  <p>Any advice appreciated!</p>