# Add sbpy on the RSP as a default installed python library/package like astropy

**URL:** <https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836>\
**Category:** Support\
**Tags:** dp0, dp03\
**Created:** [August 7, 2023, 9:08am UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836 "2023-08-07T09:08:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mschwamb](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/mschwamb/32/3007_2.png) [@mschwamb](https://www.rubin.community/u/mschwamb)\
**Post date:** [August 7, 2023, 9:08am UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836/1 "2023-08-07T09:08:39Z")

</div>

Would it be possible to make the [sbpy package](https://sbpy.org/) one of the default installs for the RSP? Sbpy is the astropy equivalent for planetary astronomers. Many of the community use this frequently. Rather than having all the planetary astronomers installing this into the environment ourselves, it would be helpful if it came pre-installed.

Thanks,  
~Meg

---

<div class="post-metadata">

**Author:** ![MelissaGraham](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/melissagraham/32/2549_2.png) [@MelissaGraham](https://www.rubin.community/u/MelissaGraham)\
**Post date:** [August 7, 2023, 2:42pm UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836/2 "2023-08-07T14:42:58Z")

</div>

Thanks Meg, great suggestion. I’ve made a work ticket to look into this installation, and I’ll discuss it with the RSP Team on Thu Aug 17. We’ll be able to respond after that.

---

<div class="post-metadata">

**Author:** ![MelissaGraham](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/melissagraham/32/2549_2.png) [@MelissaGraham](https://www.rubin.community/u/MelissaGraham)\
**Post date:** [August 17, 2023, 6:18pm UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836/3 "2023-08-17T18:18:28Z")

</div>

Hi again, happy to report that the plan is to make sbpy one of the default installs for the RSP. The aim is to get this incorporated into next week’s patch (weekly\_34), and then bump the recommended image of the RSP to that weekly the week or two after that. The projection is that sbpy would be available in the default image for the Notebook Aspect by Thu Sep 7 (but I’ll try to remember to report back here if we are delayed).

In the future there will be a more standardized procedure to incorporate user packages (e.g., astropy affiliated packages), since a case-by-case basis would be too time consuming for all user requests. But until that is in place – and especially given the utility for DP0.3 – RSP team is able to accommodate this one request now.

Thanks for the suggestion!

---

<div class="post-metadata">

**Author:** ![mschwamb](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/mschwamb/32/3007_2.png) [@mschwamb](https://www.rubin.community/u/mschwamb)\
**Post date:** [November 15, 2023, 3:00pm UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836/4 "2023-11-15T15:00:42Z")

</div>

Hiya,

I just tried to import sbpy and it appears to not be installed on the RSP. I’m getting “ModuleNotFoundError: No module named ‘sbpy’” when I create a new notebook and trying importing the module in the first cell.

~Meg

---

<div class="post-metadata">

**Author:** ![MelissaGraham](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/melissagraham/32/2549_2.png) [@MelissaGraham](https://www.rubin.community/u/MelissaGraham)\
**Post date:** [November 15, 2023, 6:03pm UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836/5 "2023-11-15T18:03:02Z")

</div>

My apologies, I had reported on a plan, and then did not notice when it didn’t happen. The RSP developer team has seen this ([and Sam’s question](http://www.rubin.community/t/unable-to-use-sbpy-to-fit-curves-to-plots/8078)) and is working towards installing `sbpy`. Timescale is likely several weeks before it becomes the recommended image for the Notebook Aspect, it will be announced at that time.

---

<div class="post-metadata">

**Author:** ![MelissaGraham](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/melissagraham/32/2549_2.png) [@MelissaGraham](https://www.rubin.community/u/MelissaGraham)\
**Post date:** [December 4, 2023, 11:55pm UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836/6 "2023-12-04T23:55:41Z")

</div>

As of Thu Nov 30, the `sbpy` package is part of the recommended image of the Rubin Science Platform’s Notebook Aspect (Weekly 2023\_47).

---

<div class="post-metadata">

**Author:** ![MelissaGraham](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/melissagraham/32/2549_2.png) [@MelissaGraham](https://www.rubin.community/u/MelissaGraham)\
**Post date:** [January 30, 2024, 10:58pm UTC](https://www.rubin.community/t/add-sbpy-on-the-rsp-as-a-default-installed-python-library-package-like-astropy/7836/7 "2024-01-30T22:58:45Z")

</div>

As of today, the DP0.3 tutorial notebooks 04a and 04b on phase curves use `sbpy` (thanks @galaxyumi331!).
