title: How do I run this python script?
body: <p>I'm new to python, and I was wondering if you could help me run a python script. I'm trying to run a script called PunchBox from Github: <a href="https://github.com/psav/punchbox" rel="nofollow noreferrer">https://github.com/psav/punchbox</a>. So far, I have Python 3.9.5 and Git Bash.</p>
  <p>In the GitHub page, it says:</p>
  <p>To install, clone the repo, cd into it and then execute the following:</p>
  <pre><code>virtualenv -p python2 .pb2
  source .pb2/bin/activate
  pip install -U pip
  pip install .
  </code></pre>
  <p>What does this mean exactly? Where do I run this code?</p>
  <p>So far, I tried downloading the zip file from GitHub, installing Python 3.5.9, using cmd, finding the directory with cd, and running that code; but got an error:</p>
  <blockquote>
  <p>Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name punchbox was given, but was not able to be found.</p>
  <p>error in punchbox setup command: Error parsing C:\Users\Mi\Downloads\punchbox-master\punchbox-master\setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name punchbox was given, but was not able to be found.</p>
  </blockquote>
  <p>There's also a requirements.txt that lists additional scripts needed:</p>
  <pre><code>pre-commit
  click
  mido
  pbr
  PyYAML
  svgwrite
  </code></pre>
  <p>Do these install automatically upon running the script for the first time?</p>
  <p>I'm a little confused why I'm getting an error. Do you know what I'm doing wrong?</p>
  <p>Thank you so much!
  Giovanni</p>