mattyowl / RSSMOSPipeline

Pipeline for reducing both longslit and multi-object spectroscopic data from the Robert Stobie Spectrograph on SALT.
https://rssmospipeline.readthedocs.io
GNU General Public License v3.0
4 stars 2 forks source link

Installation troubles #16

Closed nechnotick closed 3 years ago

nechnotick commented 3 years ago

Something weird is happening -- running "rss_mos_reducer product reduced all" returns "rss_mos_reducer: command not found", even after pip installing the pipeline.

mattyowl commented 3 years ago

Which platform / OS etc. is this on, and how are you running pip? Installing system-wide or in a user directory?

If using Ubuntu, then if you install as a regular user like this:

pip3 install RSSMOSPipeline

then scripts are installed under $HOME/.local/bin, which may not be in your PATH. To fix that, you need to do:

export PATH=$HOME/.local/bin:$PATH

which you need to add to e.g. .bashrc if you want it to be permanent.

nechnotick commented 3 years ago

Thanks, that was very helpful.