Can I add conda package in requirements.txt?

Dear Streamlit community.
I’m new of streamlit and now I would like to deploy my app to github.
My app uses a conda package which can’t install with pip command or apt-get.
Is it possible to deploy app which requires conda packages?
If it possible I would like to know how to make requirements.txt
Kind regards,

Taka

1 Like

Hi @iwatobipen, great news that you are in the community!!
Do you have a Streamlit Share account?? If not, you may ask for one here.
Seems to me that it is not possible for now to install packages with conda, but not sure. Maybe @randyzwitch could clarify this.

What conda packages are you wanting to install??

Regards!!

Hi @iwatobipen, welcome to the Streamlit community!

I feel like I saw a demo of this at one point, but I can’t remember off-hand. I will follow-up with our engineering team and get back to you shortly.

Best,
Randy

1 Like

Hi @iwatobipen -

Installing from conda does indeed work! I’ve set up an example project here, and we’ll work on getting the instructions into our proper documentation soon:

Best,
Randy

1 Like

Hi @randyzwitch @napoles3d!

Thank you for your kind support!
Finally I could deploy my example app with conda package.
https://share.streamlit.io/iwatobipen/chem_streamlit/main/chemstreamlit/app.py

I appreciate your kind support!

Thanks!

1 Like

Really cool @iwatobipen

(Btw, you could put your app in the show the community section :wink:)

Cheers!!

Thanks guys, this saved me a lot of trouble!