title: how to modify pip install path on mac os 10.10
body: <p>I want to use python3.4 as the default version and install extra packages to python3 by pip or easy_install. I have installed python3.3 and python3.4 on my mac.</p>
  
  <p>To change the default python version, aka, <code>python</code> command will go to python3.4 instead python2.7, I added a file called <code>.bash_aliases</code> with <code>alias python='python'</code> in it, then <code>source</code> the file. The method works until I restart terminal. Moreover I added <code>export PYTHONPATH="/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4/"</code> into <code>.bash_profile</code> then <code>source</code> it, but the version doesn't change.</p>
  
  <p>I have these environment variables set up in <code>.bash_profile</code>, but don't know how to change even after googling and having tried different strategies. Some lines in my <code>.bash_profile</code>:</p>
  
  <p><code>export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Java/Home//bin"
  export WORKON_HOME=$HOME/.virtualenvs
  export PROJECT_HOME=$HOME/directory-you-do-development-in
  source /usr/local/bin/virtualenvwrapper.sh</code></p>
  
  <pre><code>##
   # Your previous /Users/john/.bash_profile file was backed up as /Users/jonh/.bash_prof    ile.macports-saved_2014-02-09_at_13:58:24##
  
  export PATH=/usr/local/bin:$PATH
  
  # MacPorts Installer addition on 2014-02-09_at_13:58:24: adding an appropriate PATH variable for u    se with MacPorts.
  export PATH=/opt/local/bin:/opt/local/sbin:$PATH
  # Finished adapting your PATH environment variable for use with MacPorts.
  
  ##
  # Your previous /Users/john/.bash_profile file was backed up as /Users/john/.bash_prof    ile.macports-saved_2014-02-09_at_14:02:11
  ##
  
  # MacPorts Installer addition on 2014-02-09_at_14:02:11: adding an appropriate PATH variable for use with MacPorts.
  export PATH=/opt/local/bin:/opt/local/sbin:$PATH
  # Finished adapting your PATH environment variable for use with MacPorts.
  
  # Setting PATH for Python 3.4
  # The orginal version is saved in .bash_profile.pysave
  export PATH=/Library/Frameworks/Python.framework/Versions/3.4/bin:$PATH
  </code></pre>
  
  <p>I know there is a temporary way <code>python3 -m pip install somepPackage</code> from official manual, but is there a way to change the install path permanently?</p>