title: Actions for creating venv in python and clone a git repo
body: <p>I'm relatively new in all that and I have a problem with the row of the actions. Say that you created a directory and you want a python virtual environment for some project and clone a few git repos (say, from GitHub). Then you <code>cd</code> in that directory and create a virtual environment using the <code>venv</code> module (for python3). To do so you run the following command,</p>
  
  <pre class="lang-py prettyprint-override"><code>     python3 -m venv my_venv
  </code></pre>
  
  <p>which will create in your directory a virtual environment called my_env. To activate this environment you run the following.</p>
  
  <pre class="lang-py prettyprint-override"><code>     source ./my_env/bin/activate
  </code></pre>
  
  <p>If in addition inside that directory you have a requirements.txt file you can run,</p>
  
  <pre class="lang-py prettyprint-override"><code>     pip3 install -r ./requirements.txt
  </code></pre>
  
  <p>to install your various dependencies and packages with <a href="/questions/tagged/pip3" class="post-tag" title="show questions tagged &#39;pip3&#39;" rel="tag">pip3</a>. Now this is where I'm getting confused. If you want to clone git repos where exactly you do that? In the same directory you just run <code>git clone</code> and creates the git repos or you need to <code>cd</code> in another folder. In order to let python venv pick up the cloned repos is the above enough, or venv must be installed after you have cloned the repos in your directory?</p>