summaryrefslogtreecommitdiff
path: root/docs/source/download.rst
blob: bbbd66c036450f928d745297b65eb93b5b019fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Download & Install
==================

The *pyasn1* library is a pure-Python package with no external
dependencies. Considering how much industrial or finance software
can be stuck with an old platform (think RHEL 5), we struggle to
maintain its compatibility back to the very pre-historic Python
(which is 2.4!).

The best way to obtain PyASN1 is by running `pip`:

.. code-block:: bash

   $ virtualenv venv
   $ source venv/bin/activate
   $ pip install pyasn1

You may also want to use `pyasn1-modules`:

.. code-block:: bash

   $ pip install pyasn1-modules

Alternatively, you can download the latest release from
`GitHub <https://github.com/etingof/pyasn1/releases>`_
or `PyPI <https://pypi.org/project/pyasn1>`_.