Using PIP : pip install pyang Without PIP : [sudo] apt-get install python-setuptools git clone https://github.com/mbj4668/pyang cd pyang [sudo] python setup.py install