Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I am trying to import the NSO Python package and it doesn't work. I sourced the required file ($ source nso-4.7/ncsrc). In Python when I try to import ncs I get this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>...
The problem was resolved by reinstalling NSO. For some reason I didn't have _ncs_py2.so for the first install. I was using Mac os and Python 2.7.15. The PATH included '/Users/user/nso-4.7/src/ncs/pyapi'.