Open gurwindaniel opened 5 years ago
sudo bash start.sh - This will start the server for you. Doing sudo start.sh will give you the error you have above.
I am having same issue - Pyang is installed - i am using Ubuntu 20
I had the same issue on ubuntu. I found a fix for it. You can refer to this link for more info: https://github.com/CiscoDevNet/yang-explorer/wiki
1. First I downloaded pyang manually rather than through pip: git clone https://github.com/mbj4668/pyang.git cd pyang [sudo] python setup.py install
2. Installed additional dependency packages: Ubuntu: sudo apt-get install libxml2-dev libxslt1-dev python-dev
3. Installed explorer once more: cd yang-explorer bash setup.sh
Then server started properly:
cd
Activating virtualenv .. pyang not found.. please install pyang before continuing !!