title: bash_profile configure confusion
body: <p>I am trying to install Python virtual environment using STEP:5 in this link <a href="http://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/" rel="nofollow noreferrer">Install OpenCV 3 on macOS with Homebrew (the easy way)</a></p>
  
  <p>I am having trouble in configuring this file properly</p>
  
  <pre><code>$ nano ~/.bash_profile
  </code></pre>
  
  <p>Only editing the bash_profile like show </p>
  
  <pre><code># Virtualenv/VirtualenvWrapper
  source /usr/local/bin/virtualenvwrapper.sh
  </code></pre>
  
  <p>Is not allowing me to goto next step</p>
  
  <p>I got this Warning <code>mkvirtualenv: command not found</code></p>
  
  <p>So altered it using help with this <code>techstricks.com/mkvirtualenv-command-not-found-virtualenvwrapper/</code></p>
  
  <p>Found this link on how to virtualenwrapper
   <code>virtualenvwrapper.readthedocs.io/en/latest/install.html#python-interpreter-virtualenv-and-path</code></p>
  
  <p>My <code>bash_profile</code> contains</p>
  
  <pre><code>    #Homebrew
  export PATH=/usr/local/bin:$PATH
  
  export WORKON_HOME=$HOME/.virtualenvs
  
  # Virtualenv/VirtualenvWrapper
  source /usr/local/bin/virtualenvwrapper.sh
  export PROJECT_HOME=$HOME/Devel
  export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
  export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
  export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
  </code></pre>
  
  <p>When I try to <code>$ source ~/.bash_profile</code></p>
  
  <p>I'm getting this </p>
  
  <pre><code>-bash: /usr/local/bin/python: No such file or directory
  virtualenvwrapper.sh: There was a problem running the initialization hooks. 
  
  If Python could not import the module virtualenvwrapper.hook_loader,
  check that virtualenvwrapper has been installed for
  VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python and that PATH is
  set properly.
  </code></pre>
  
  <p>How do I fix this???????</p>