i have a python script that have "import ncs". This import statement works only if i run the command "source ~/nso-6.1/ncsrc". If i open a shell and i don't run the source command, if i run the python script it says "No module named 'ncs'"
Now, i want to use the VSCode interactive window in order to run the script, but i cannot put the source command, so there is always the same "No module named 'ncs'" error. How can i import ncs without using the source command? How can i start using it?
Thanks
nso: "Most users addsource ~/nso-x.x/ncsrc(where x.x is the NSO version) to their ~/.bash_profile". Have you tried this?