• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2Download & Install
3==================
4
5The *pyasn1* library is a pure-Python package with no external
6dependencies. Considering how much industrial or finance software
7can be stuck with an old platform (think RHEL 5), we struggle to
8maintain its compatibility back to the very pre-historic Python
9(which is 2.4!).
10
11The best way to obtain PyASN1 is by running `pip`:
12
13.. code-block:: bash
14
15   $ virtualenv venv
16   $ source venv/bin/activate
17   $ pip install pyasn1
18
19You may also want to use `pyasn1-modules`:
20
21.. code-block:: bash
22
23   $ pip install pyasn1-modules
24
25Alternatively, you can download the latest release from
26`GitHub <https://github.com/etingof/pyasn1/releases>`_
27or `PyPI <https://pypi.org/project/pyasn1>`_.
28