The above line fails when nway is installed in the system. In that case !nway.py ... should work. A general solution would be to change the code to be: !nway.py, but add /home/jovyan/.local/bin/nway.py to $PATH, so if nway is installed in the user space it also works. i.e.:
https://github.com/nasa-fornax/fornax-demo-notebooks/blob/fa9688e6631d9a5f59e13f6f3e1587dde8d83057/forced_photometry/multiband_photometry.md?plain=1#L793
The above line fails when nway is installed in the system. In that case
!nway.py ...
should work. A general solution would be to change the code to be:!nway.py
, but add/home/jovyan/.local/bin/nway.py
to $PATH, so ifnway
is installed in the user space it also works. i.e.:Somewhere at the top:
Then change the above line to: