CiscoDevNet / yang-explorer

An open-source Yang Browser and RPC Builder Application
Apache License 2.0
437 stars 177 forks source link

Activating virtualenv .. pyang not found.. please install pyang before continuing !! #101

Open gurwindaniel opened 5 years ago

gurwindaniel commented 5 years ago

Activating virtualenv .. pyang not found.. please install pyang before continuing !!

robertcsapo commented 4 years ago

try

pip install pyang

(https://pypi.org/project/pyang/)

jaybooth851 commented 4 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.

urduitacademy commented 4 years ago

I am having same issue - Pyang is installed - i am using Ubuntu 20

AnotherOneOne commented 4 years ago

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 /yang-explorer ./start.sh