04-25-2022 12:25 PM - edited 05-11-2022 07:31 PM
What I wish someone would have told me about installing YANG Suite
This was on a MacBook Pro, done today April 25, 2022
Enjoy!
07-07-2022 04:48 PM
I'm trying to get YangSuite installed on my Mac. I followed the above. I get this error:
#13 15.67 Downloading https://files.pythonhosted.org/packages/a1/0d/a1b490503545b3b4600b965eae5d44cc2b6ce27cfb44f4debc563dbb56d3/textfsm-0.4.1.tar.gz #13 15.91 Collecting cryptography>3.3.1 (from yangsuite-devices; extra == "core"->yangsuite[core]) #13 16.42 Downloading https://files.pythonhosted.org/packages/89/d9/5fcd312d5cce0b4d7ee8b551a0ea99e4ea9db0fdbf6dd455a19042e3370b/cryptography-37.0.4.tar.gz (585kB) #13 16.76 Complete output from command python setup.py 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/setup.py", 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: https://pip.pypa.io/en/stable/installing/#upgrading-pip #13 16.76 =============================DEBUG ASSISTANCE========================== #13 16.76 #13 16.76 #13 16.76 ---------------------------------------- #13 17.11 Command "python setup.py 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?
Thanks,
Patrick
01-05-2024 01:24 PM
It looks like you need to install cryptography and updating to the latest version of pip might help too.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide