Install from PyPi with the following:
pip install asn1
or download the repository from GitHub and install with the following:
python setup.py install
You can also simply include asn1.py into your project.
asn1.py