title: sudo virtualenv -p gives PermissionError: [Errno 13] Permission denied?
body: <p>When I try to run </p>
  
  <pre><code>sudo virtualenv -p /Library/Frameworks/Python.framework/Versions/7.3/Resources/Python.app/Contents/MacOS
  </code></pre>
  
  <p>It shows the following error:</p>
  
  <pre><code>Running virtualenv with interpreter 
  
  /Library/Frameworks/Python.framework/Versions/7.3/Resources/Python.app/Contents/MacOS
  Traceback (most recent call last):
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/bin/virtualenv", line 9, in &lt;module&gt;
      load_entry_point('virtualenv==1.8.2', 'console_scripts', 'virtualenv')()
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/virtualenv.py", line 897, in main
      popen = subprocess.Popen([interpreter, file] + sys.argv[1:], env=env)
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/subprocess.py", line 818, in __init__
      restore_signals, start_new_session)
    File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/subprocess.py", line 1416, in _execute_child
      raise child_exception_type(errno_num, err_msg)
  PermissionError: [Errno 13] Permission denied
  </code></pre>
  
  <p>I tried removing my pip.log file as <a href="https://stackoverflow.com/questions/11708708/pip-and-virtualenv-w-o-virtualenvwrapper-pip-install-package-name-gives-permi">this answer</a> advised me to, but the problem persists. Any solutions?</p>
  
  <p>Edit: </p>
  
  <p>I should explain that I'm trying to create a virtualenv located at the <code>&lt;path name&gt;</code> because I want to install a package with pip for that version of Python.</p>