title: virtualenvwrapper installed but not working
body: <p>I'm on Mac OS 10.15.4 and installed python according to the instructions <a href="https://opensource.com/article/19/5/python-3-default-mac" rel="nofollow noreferrer">here</a>, under the "What we should do" section.</p>
  
  <pre><code>➜ which python3
  /Users/miguel/.pyenv/shims/python3
  
  ➜ which virtualenvwrapper.sh
  /Users/miguel/.pyenv/shims/virtualenvwrapper.sh
  
  ➜ which pip
  /Users/miguel/.pyenv/shims/pip
  
  ➜ pip freeze
  ...
  virtualenv==20.0.21
  virtualenv-clone==0.5.4
  virtualenvwrapper==4.8.4
  
  ➜ pip install virtualenvwrapper
  Requirement already satisfied: virtualenvwrapper in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (4.8.4)
  Requirement already satisfied: virtualenv in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenvwrapper) (20.0.21)
  Requirement already satisfied: virtualenv-clone in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenvwrapper) (0.5.4)
  Requirement already satisfied: stevedore in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenvwrapper) (1.32.0)
  Requirement already satisfied: distlib&lt;1,&gt;=0.3.0 in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenv-&gt;virtualenvwrapper) (0.3.0)
  Requirement already satisfied: appdirs&lt;2,&gt;=1.4.3 in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenv-&gt;virtualenvwrapper) (1.4.4)
  Requirement already satisfied: filelock&lt;4,&gt;=3.0.0 in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenv-&gt;virtualenvwrapper) (3.0.12)
  Requirement already satisfied: importlib-metadata&lt;2,&gt;=0.12; python_version &lt; "3.8" in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenv-&gt;virtualenvwrapper) (1.6.0)
  Requirement already satisfied: six&lt;2,&gt;=1.9.0 in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from virtualenv-&gt;virtualenvwrapper) (1.15.0)
  Requirement already satisfied: pbr!=2.1.0,&gt;=2.0.0 in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from stevedore-&gt;virtualenvwrapper) (5.4.5)
  Requirement already satisfied: zipp&gt;=0.5 in ./.pyenv/versions/3.7.3/lib/python3.7/site-packages (from importlib-metadata&lt;2,&gt;=0.12; python_version &lt; "3.8"-&gt;virtualenv-&gt;virtualenvwrapper) (3.1.0)
  </code></pre>
  
  <p>I was then trying to follow the installation instructions <a href="https://virtualenvwrapper.readthedocs.io/en/latest/install.html#shell-startup-file" rel="nofollow noreferrer">here</a>. However, after running <code>source .zshrc</code> the Terminal prints</p>
  
  <pre><code>/Users/miguel/.zshrc:source:20: no such file or directory: /usr/local/bin/virtualenvwrapper.sh
  </code></pre>
  
  <p>I then tried to change the location of virtualenvwrapper in .zshrc given what <code>which virtualenvwrapper.sh</code> returned so instead of </p>
  
  <pre><code>export WORKON_HOME=$HOME/.virtualenvs
  export PROJECT_HOME=$HOME/Devel
  source /usr/local/bin/virtualenvwrapper.sh
  </code></pre>
  
  <p>which is what the linked instructions specify, I added</p>
  
  <pre><code>export WORKON_HOME=$HOME/.virtualenvs
  export PROJECT_HOME=$HOME/Devel
  source /Users/miguel/.pyenv/shims/virtualenvwrapper.sh
  </code></pre>
  
  <p>This created another problem which makes the Terminal open with just this </p>
  
  <pre><code>Last login: Sat May 30 22:53:46 on ttys000
  
  [Process completed]
  </code></pre>
  
  <p>I found another answer <a href="https://apple.stackexchange.com/questions/153408/process-completed-immediately-after-opening-terminal">here</a> to deal with this, but I still can't solve my problem, still stuck at this <a href="https://virtualenvwrapper.readthedocs.io/en/latest/install.html#shell-startup-file" rel="nofollow noreferrer">step</a>.</p>
  
  <p>EDIT:</p>
  
  <p>Another thing I tried was the accepted answer <a href="https://stackoverflow.com/questions/12647266/where-is-virtualenvwrapper-sh-after-pip-install">here</a>.</p>
  
  <p>Running</p>
  
  <pre><code>➜ find / -name virtualenvwrapper.sh
  </code></pre>
  
  <p>Found these two:</p>
  
  <pre><code>/Users/miguel/.pyenv/versions/3.7.3/bin/virtualenvwrapper.sh
  /Users/miguel/.pyenv/shims/virtualenvwrapper.sh
  </code></pre>