Closed jean-christophe-manciot closed 7 years ago
.
Looks like you are using python 3.x, Yang-Explorer is only supported on python 2.7.x
If you have both python 2 and python 3 install on your system, you may create virtualenv for 2.7 before running setup.sh.
cd \<Yang-Explorer Root> rm -rf v virtualenv -p `which python2.7` v bash setup.sh**
OK - I suggest to update the installation process in README.me because most Linux distributions have both python versions installed by default.
You could also patch yang explorer to make it work with python3. I have done this and it works for me. I built django (v1.8.3), lxml (v4.4.2), pyang (v2.1), ydk-py (yam branch latest), applied my own myrequirements.txt and used latest explorer https://github.com/CiscoDevNet/yang-explorer/pull/110/commits/c94f56544d0aa3d6d0d158d9de4da9efebe06d35 and it all seemed to work. I am not using a virtual environment.
Ubuntu 16.10 bash 4.4.0 Python 3.5.2+ virtualenv 15.1.0
All requirements installed correctly.