Use pip:
$ pip install pytx
You might also want to consider using a virtualenv.
The pytx library is developed on Python 2.7 and tested against Python 2.7. Besides the Python Standard Library, pytx relies on the following Python libraries which can be installed with pip or by manually downloading the package from PyPI: