Running software from terminal prompt in RSP

I have some software that I would like to run in the RSP from the terminal prompt rather than through a notebook. When I log into the terminal at the RSP, it seems to start a venv by default which I guess has the lsst packages installed. But when my code tries to import these in the usual way , e.g. import lsst.geom as geom I get ‘no module’ errors. What syntax should I be using here?

Hi Rachel – did you initially run setup lsst_distrib within the terminal? I saw the behavior you’re describing when I did not run setup lsst_distrib, but then the import worked successfully for me after running setup lsst_distrib. Thanks…

Many thanks Aaron!

1 Like