=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-l460o6fh/cryptography/
ERROR: Service 'yangsuite' failed to build: The command '/bin/sh -c pip3 install --upgrade --no-cache yangsuite[core]' returned a non-zero code: 1
This issue is happening during the docker installation path, after downloading "clone" Cisco YANG Suite repo and running
Issue
Collecting cryptography>3.3.1 (from yangsuite-devices; extra == "core"->yangsuite[core]) Downloading https://files.pythonhosted.org/packages/89/d9/5fcd312d5cce0b4d7ee8b551a0ea99e4ea9db0fdbf6dd455a19042e3370b/cryptography-37.0.4.tar.gz (585kB) Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "/tmp/pip-build-l460o6fh/cryptography/setup.py", line 14, in
from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-l460o6fh/cryptography/ ERROR: Service 'yangsuite' failed to build: The command '/bin/sh -c pip3 install --upgrade --no-cache yangsuite[core]' returned a non-zero code: 1
Possible solution
Add setuptools-rust to pip install