To install gwent, run this command in your terminal:
$ pip install gwent
This is the preferred method to install gwent, as it will always install the most recent stable release.
The sources for gwent can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/ark0015/gwent
Or download the tarball:
$ curl -OL https://github.com/ark0015/gwent/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install
or use pip to install the requirements within gwent
$ pip install -r requirements.txt