Using Streamlit in Amazon SageMaker (Notebooks, Studio, JupyterLab)
HTML-код
- Опубликовано: 30 июл 2024
- In this video, I will quickly take you through using streamlit to stand up applications in Amazon SageMaker.
We will do this for:
1. SageMaker Studio Classic
2. SageMaker Studio JupyterLab
3. and SageMaker Notebooks
Chapters:
00:00 Intro
00:36 SageMaker Studio Classic
05:24 SageMaker Studio JupyterLab
07:47 SageMaker Notebooks
Great video. Have you tried this with CodeEditor in the new Studio? I'm trying to get this to work now.
Thanks for this video. I did not realize this wouldn't work with Code Editor and wasted a lot of time going down the rabbit-hole of IAM roles and policies that the error messages had me thinking were the root cause.
Thank you so much for this!!
Method 3 works perfectly!
nice video 👏
Thanks! Trying to get this working with Code Editor. Let me know if you have solved that one too!
Did you have a chance to make it work in Code editor
I tried accessing the streamlit and followed your steps. The webpage hosted is reachable but appears to be completely blank.
I'm also having this problem. Did you manage to solve it? I will test in another browser other than Chrome.
One needs to upgrade the jupyter version to >= 2 and I tried a lot in doing so but the version of jupyter remained the same@@ken262849
The same for me but 3rd approach with --server.baseUrlPath works in my case for SageMaker Studio JupyterLab
I have the same problem. The third approach also does not work for me. Anyone have an idea?
@@m.caneda4205 One has to upgrade the jupyter version to greater than 2. I tried a lot with all conda environments but after upgrading the jupyter lab reboots and it shows version 1
I keep having this issues whenever I try to install it on SageMaker notebook:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/opt/conda/lib/python3.10/site-packages/pytz-2023.3.dist-info/METADATA'