Showing results for 
Search instead for 
Did you mean: 

Installing and Running YANG Suite on a Mac - Tips

Alex Stevenson
Cisco Employee
Cisco Employee


What I wish someone would have told me about installing YANG Suite 

This was on a MacBook Pro, done today April 25, 2022


  1. Install Docker Desktop on your PC, start it and keep it running when you want to use YANG Suite
  2. Figure out where you want to install YANG Suite and run ‘git clone'
  3. Enter the Yang Suite folder --> 'cd yangsuite'
  4. I like to start a virtual environment here ‘python3 -m vent vent’. And then ‘source venv/bin/activate’ it’s a little different for Python2 and/or on Windows
  5. You’ll need to install docker-compose if you want to use that to start YANG Suite. I prefer starting YANG Suite with this command instead --> from the yangsuite/docker folder: ‘./’
  6. Enter the GUI  --> Go to http://localhost    I had to use Firefox as it was blocked on Chrome
  7. There is a free, Always-On sandbox to try out YANG Suite with: IOS XE on CSR Recommended Code AlwaysOn  
  8. This lab is helpful for beginners: Introduction to YANG Suite 



1 Reply 1


I'm trying to get YangSuite installed on my Mac.  I followed the above.  I get this error:


#13 15.67   Downloading
#13 15.91 Collecting cryptography>3.3.1 (from yangsuite-devices; extra == "core"->yangsuite[core])
#13 16.42   Downloading (585kB)
#13 16.76     Complete output from command python egg_info:
#13 16.76     Traceback (most recent call last):
#13 16.76       File "<string>", line 1, in <module>
#13 16.76       File "/tmp/pip-build-5eb_0lt0/cryptography/", line 14, in <module>
#13 16.76         from setuptools_rust import RustExtension
#13 16.76     ModuleNotFoundError: No module named 'setuptools_rust'
#13 16.76     
#13 16.76             =============================DEBUG ASSISTANCE==========================
#13 16.76             If you are seeing an error here please try the following to
#13 16.76             successfully install cryptography:
#13 16.76     
#13 16.76             Upgrade to the latest pip and try again. This will fix errors for most
#13 16.76             users. See:
#13 16.76             =============================DEBUG ASSISTANCE==========================
#13 16.76     
#13 16.76     
#13 16.76     ----------------------------------------
#13 17.11 Command "python egg_info" failed with error code 1 in /tmp/pip-build-5eb_0lt0/cryptography/
executor failed running [/bin/sh -c pip3 install --upgrade --no-cache yangsuite[core]]: exit code: 1
ERROR: Service 'yangsuite' failed to build : Build failed

I've tried upgrading pip and setuptools.


Package           Version

----------------- -------

pip               22.1.2

semantic-version  2.10.0

setuptools        63.1.0

setuptools-rust   1.4.1

typing_extensions 4.3.0


How do I fix?




Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers