# \#macos

**URL:** https://discuss.streamlit.io/tag/macos/92.md

[Latest](https://discuss.streamlit.io/latest.md) · [Categories](https://discuss.streamlit.io/categories.md) · [Tags](https://discuss.streamlit.io/tags.md)

---

## [Streamlit Deployment as an Executable File (.exe) For Windows MacOS And Android](https://discuss.streamlit.io/t/streamlit-deployment-as-an-executable-file-exe-for-windows-macos-and-android/6812)

<div class="topic-metadata">

**Author:** [@Super-MAN](https://discuss.streamlit.io/u/Super-MAN)\
**Replies:** 56\
**Last updated:** [July 16, 2026, 5:26pm UTC](https://discuss.streamlit.io/t/streamlit-deployment-as-an-executable-file-exe-for-windows-macos-and-android/6812 "2026-07-16T17:26:16Z")

</div>

Hi Everyone My First Post Here. So I recently Discovered A Way To Make A Streamlit App as A Windows or Mac OS Executable File, So Here Are the Steps: Deploy Yout Streamlit App Using Streamlit Sharing And Make A Note of…

---

## [Help! - ModuleNotFoundError: No module named 'distutils'](https://discuss.streamlit.io/t/help-modulenotfounderror-no-module-named-distutils/79059)

<div class="topic-metadata">

**Author:** [@Jason6](https://discuss.streamlit.io/u/Jason6)\
**Replies:** 39\
**Last updated:** [April 16, 2025, 12:24am UTC](https://discuss.streamlit.io/t/help-modulenotfounderror-no-module-named-distutils/79059 "2025-04-16T00:24:33Z")

</div>

I met a error “distutils”… I searched some blogs and Streamlit topics, but I cannot found the solution. I changed python version from 3.12 to 3.10, 3.9… and install setuptools… But it didn’t works(Cannot deploy). Pl…

---

## [macOS deployment](https://discuss.streamlit.io/t/macos-deployment/94341)

<div class="topic-metadata">

**Author:** [@hntecher](https://discuss.streamlit.io/u/hntecher)\
**Replies:** 0\
**Last updated:** [March 8, 2025, 4:22am UTC](https://discuss.streamlit.io/t/macos-deployment/94341 "2025-03-08T04:22:04Z")

</div>

Hello, I see a lot of help to deploy on Windows but I can’t find anything to help me out for macOS. Is there anyone who knows how to deploy on macOS? I created a .spec file then a launcher.py file with import os import…

---

## [Check Out Datalize – Your Ultimate Data Analysis Companion!](https://discuss.streamlit.io/t/check-out-datalize-your-ultimate-data-analysis-companion/91976)

<div class="topic-metadata">

**Author:** [@gabrielescarcella0](https://discuss.streamlit.io/u/gabrielescarcella0)\
**Replies:** 0\
**Last updated:** [January 31, 2025, 4:19pm UTC](https://discuss.streamlit.io/t/check-out-datalize-your-ultimate-data-analysis-companion/91976 "2025-01-31T16:19:45Z")

</div>

Hey everyone! :waving\_hand: I’m excited to share Datalize, a web app I’ve been working on that simplifies data analysis and visualization for everyone! Whether you’re a data enthusiast, a student, or a professional, Dat…

---

## [Streamlit on Mac](https://discuss.streamlit.io/t/streamlit-on-mac/84405)

<div class="topic-metadata">

**Author:** [@WKN](https://discuss.streamlit.io/u/WKN)\
**Replies:** 3\
**Last updated:** [January 15, 2025, 10:11pm UTC](https://discuss.streamlit.io/t/streamlit-on-mac/84405 "2025-01-15T22:11:32Z")

</div>

Hi, I have just install Streamlit on Mac using pip3 install streamlit. On one machine, i can just type streamlit in terminal but the having no command found for the other mac. I found the Streamlit is stored in /Librar…

---

## [Can't work Supabase following the docs, "AttributeError: 'SupabaseConnection' object has no attribute 'query'"](https://discuss.streamlit.io/t/cant-work-supabase-following-the-docs-attributeerror-supabaseconnection-object-has-no-attribute-query/88688)

<div class="topic-metadata">

**Author:** [@f.camara1109](https://discuss.streamlit.io/u/f.camara1109)\
**Replies:** 1\
**Last updated:** [January 2, 2025, 1:52pm UTC](https://discuss.streamlit.io/t/cant-work-supabase-following-the-docs-attributeerror-supabaseconnection-object-has-no-attribute-query/88688 "2025-01-02T13:52:30Z")

</div>

Hi, this is my first time using Streamlit. I’m trying to follow the docs to connect to Supabase, but neither option given there is working. I tried following the exact steps, just didn’t publish to prod, and locally I ge…

---

## ["streamlit hello" command errors out but works with "python3 -m streamlit hello" on my macAir. Any idea on how to make the original command run as it is?](https://discuss.streamlit.io/t/streamlit-hello-command-errors-out-but-works-with-python3-m-streamlit-hello-on-my-macair-any-idea-on-how-to-make-the-original-command-run-as-it-is/82146)

<div class="topic-metadata">

**Author:** [@Rishabh1](https://discuss.streamlit.io/u/Rishabh1)\
**Replies:** 1\
**Last updated:** [September 26, 2024, 2:02pm UTC](https://discuss.streamlit.io/t/streamlit-hello-command-errors-out-but-works-with-python3-m-streamlit-hello-on-my-macair-any-idea-on-how-to-make-the-original-command-run-as-it-is/82146 "2024-09-26T14:02:47Z")

</div>

Python version: 3.9.6 Streamlit version: 1.38.0 Installed site package path: /Library/Python/3.9/lib/python/site-packages

---

## [Cannot open streamlit on browser via any links provided](https://discuss.streamlit.io/t/cannot-open-streamlit-on-browser-via-any-links-provided/81489)

<div class="topic-metadata">

**Author:** [@Aiqi](https://discuss.streamlit.io/u/Aiqi)\
**Replies:** 4\
**Last updated:** [September 20, 2024, 10:41am UTC](https://discuss.streamlit.io/t/cannot-open-streamlit-on-browser-via-any-links-provided/81489 "2024-09-20T10:41:41Z")

</div>

I am a beginner of streamlit and try to run streamlit hello locally after the installation. When I try to open the localhost link, the error message is: This site can’t be reached localhost refused to connect. Try: …

---

## [Streamlit memory issue](https://discuss.streamlit.io/t/streamlit-memory-issue/79675)

<div class="topic-metadata">

**Author:** [@Pietro](https://discuss.streamlit.io/u/Pietro)\
**Replies:** 7\
**Last updated:** [September 4, 2024, 3:55pm UTC](https://discuss.streamlit.io/t/streamlit-memory-issue/79675 "2024-09-04T15:55:33Z")

</div>

Our team is experiencing an issue with the memory usage of our Streamlit app when deployed on Heroku. The memory allocated starts growing and looks like it is never released. At a certain threshold ( in line with this be…

---

## [Streamlit hello gives Segmentation fault: 11 on Macbook Air mac os big sur](https://discuss.streamlit.io/t/streamlit-hello-gives-segmentation-fault-11-on-macbook-air-mac-os-big-sur/71347)

<div class="topic-metadata">

**Author:** [@rupinder\_kohli](https://discuss.streamlit.io/u/rupinder_kohli)\
**Replies:** 1\
**Last updated:** [August 28, 2024, 7:52am UTC](https://discuss.streamlit.io/t/streamlit-hello-gives-segmentation-fault-11-on-macbook-air-mac-os-big-sur/71347 "2024-08-28T07:52:56Z")

</div>

Streamlit, version 1.35.0 Python 3.12.3 Installed in the .venv and tried with Streamlit hello Could you please assist urgently

---

## [New to this: Streamlit opens up in browser, but it is blank](https://discuss.streamlit.io/t/new-to-this-streamlit-opens-up-in-browser-but-it-is-blank/78921)

<div class="topic-metadata">

**Author:** [@Jhodi](https://discuss.streamlit.io/u/Jhodi)\
**Replies:** 1\
**Last updated:** [August 19, 2024, 7:43am UTC](https://discuss.streamlit.io/t/new-to-this-streamlit-opens-up-in-browser-but-it-is-blank/78921 "2024-08-19T07:43:35Z")

</div>

I’ve attached my script readout. and I did try to manually enter the location into my browser. working on a laptop

---

## [Showing blank window in streamlit app](https://discuss.streamlit.io/t/showing-blank-window-in-streamlit-app/74038)

<div class="topic-metadata">

**Author:** [@Shubham\_Yadav](https://discuss.streamlit.io/u/Shubham_Yadav)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 2:42pm UTC](https://discuss.streamlit.io/t/showing-blank-window-in-streamlit-app/74038 "2024-07-03T14:42:24Z")

</div>

If you’re creating a debugging post, please include the following info: Recently I have dowloaded streamlit while download it doesn’t shown error. But when I run the code I am not seeing any change in streamlit app. I …

---

## [ModuleNotFoundError: No module named 'geopandas' on Mac M3 chip](https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-geopandas-on-mac-m3-chip/69180)

<div class="topic-metadata">

**Author:** [@erankova](https://discuss.streamlit.io/u/erankova)\
**Replies:** 5\
**Last updated:** [July 2, 2024, 4:19pm UTC](https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-geopandas-on-mac-m3-chip/69180 "2024-07-02T16:19:14Z")

</div>

Hey yall, I’m so lost. Everything works locally but when deploying geopandas won’t install even though I’ve installed it. I’ve tried it with a requirements.txt instead of environment.yml but I’m on a newer Mac with an M…

---

## [FileNotFoundError and BrokenPipeError](https://discuss.streamlit.io/t/filenotfounderror-and-brokenpipeerror/73754)

<div class="topic-metadata">

**Author:** [@Ren](https://discuss.streamlit.io/u/Ren)\
**Replies:** 0\
**Last updated:** [June 30, 2024, 2:44pm UTC](https://discuss.streamlit.io/t/filenotfounderror-and-brokenpipeerror/73754 "2024-06-30T14:44:13Z")

</div>

I’m trying to deploy my app however after fixing the requirements file and adding all the needed files I faced this new bug FileNotFoundError File “/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/s…

---

## [Error installing requirements while deploying my app](https://discuss.streamlit.io/t/error-installing-requirements-while-deploying-my-app/73617)

<div class="topic-metadata">

**Author:** [@Ren](https://discuss.streamlit.io/u/Ren)\
**Replies:** 4\
**Last updated:** [June 30, 2024, 2:22pm UTC](https://discuss.streamlit.io/t/error-installing-requirements-while-deploying-my-app/73617 "2024-06-30T14:22:23Z")

</div>

Hello community I’m trying to deploy my app through GitHub repo I faced the problem of error no module named nltk so I added a requirement file and it displays this error Error installing requirements I’m using…

---

## [Integrating supabase](https://discuss.streamlit.io/t/integrating-supabase/72290)

<div class="topic-metadata">

**Author:** [@griffin](https://discuss.streamlit.io/u/griffin)\
**Replies:** 0\
**Last updated:** [June 10, 2024, 8:44pm UTC](https://discuss.streamlit.io/t/integrating-supabase/72290 "2024-06-10T20:44:21Z")

</div>

I am currently testing an application locally, I have decided it would be best to store and access necessary data through supabase. I am using the most updated streamlit and python versions that are compatible (I reinsta…

---

## [A new tab doesn’t open up in my web-browser if I run the streamlit hello](https://discuss.streamlit.io/t/a-new-tab-doesn-t-open-up-in-my-web-browser-if-i-run-the-streamlit-hello/70812)

<div class="topic-metadata">

**Author:** [@r.ashman](https://discuss.streamlit.io/u/r.ashman)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 4:12pm UTC](https://discuss.streamlit.io/t/a-new-tab-doesn-t-open-up-in-my-web-browser-if-i-run-the-streamlit-hello/70812 "2024-05-29T16:12:16Z")

</div>

After installing streamlit and running streamlit hello all I get is: % streamlit hello 👋 Welcome to Streamlit! If you’d like to receive helpful onboarding emails, news, offers, promotions, and the occasional swa…

---

## [I have done all the steps to import streamlit. However when I try on visual code studio to ‘import streamlit as st’ it says report missing Imports](https://discuss.streamlit.io/t/i-have-done-all-the-steps-to-import-streamlit-however-when-i-try-on-visual-code-studio-to-import-streamlit-as-st-it-says-report-missing-imports/67097)

<div class="topic-metadata">

**Author:** [@thomassabti](https://discuss.streamlit.io/u/thomassabti)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 12:21pm UTC](https://discuss.streamlit.io/t/i-have-done-all-the-steps-to-import-streamlit-however-when-i-try-on-visual-code-studio-to-import-streamlit-as-st-it-says-report-missing-imports/67097 "2024-04-16T12:21:51Z")

</div>

I have done all the steps to import streamlit. However when I try on visual code studio to ‘import streamlit as st’ it says report missing Imports

---

## [Memory leak on linux but not on macos](https://discuss.streamlit.io/t/memory-leak-on-linux-but-not-on-macos/60154)

<div class="topic-metadata">

**Author:** [@chchchchch](https://discuss.streamlit.io/u/chchchchch)\
**Replies:** 9\
**Last updated:** [April 11, 2024, 7:33pm UTC](https://discuss.streamlit.io/t/memory-leak-on-linux-but-not-on-macos/60154 "2024-04-11T19:33:37Z")

</div>

I’ve noticed a big difference in memory usage when running streamlit on a Mac vs on Ubuntu or in a Docker container. This is on python 3.11 and streamlit 1.30.0. Using a sample app copied from Memory behavior, import s…

---

## [Clear input text on submit not working for my chatbot](https://discuss.streamlit.io/t/clear-input-text-on-submit-not-working-for-my-chatbot/62929)

<div class="topic-metadata">

**Author:** [@Pooja\_Harihar](https://discuss.streamlit.io/u/Pooja_Harihar)\
**Replies:** 11\
**Last updated:** [March 25, 2024, 7:59am UTC](https://discuss.streamlit.io/t/clear-input-text-on-submit-not-working-for-my-chatbot/62929 "2024-03-25T07:59:56Z")

</div>

I am currently working on a chatbot and runnning a streamlit locally on my macos system. I want to clear the input\_text once submit is pressed by the user and found this code on the discussion. here after implemenntin…

---

## [Trying to stream my first app using streamlit Python 3.6.8 on Mac Monterey 12.7.3 Yet I got zsh: permission denied:](https://discuss.streamlit.io/t/trying-to-stream-my-first-app-using-streamlit-python-3-6-8-on-mac-monterey-12-7-3-yet-i-got-zsh-permission-denied/64960)

<div class="topic-metadata">

**Author:** [@Ren](https://discuss.streamlit.io/u/Ren)\
**Replies:** 10\
**Last updated:** [March 19, 2024, 12:30pm UTC](https://discuss.streamlit.io/t/trying-to-stream-my-first-app-using-streamlit-python-3-6-8-on-mac-monterey-12-7-3-yet-i-got-zsh-permission-denied/64960 "2024-03-19T12:30:31Z")

</div>

I’ve been trying to stream my first app using Streamlit locally. I have installed Streamlit through my terminal and it was successful yet when I try to run the code using Python terminal I receive the following warning …

---

## [If prompt := st.chat\_input("What is up?"): - Invalid Syntax Error](https://discuss.streamlit.io/t/if-prompt-st-chat-input-what-is-up-invalid-syntax-error/64343)

<div class="topic-metadata">

**Author:** [@giaophan60](https://discuss.streamlit.io/u/giaophan60)\
**Replies:** 1\
**Last updated:** [March 10, 2024, 5:50pm UTC](https://discuss.streamlit.io/t/if-prompt-st-chat-input-what-is-up-invalid-syntax-error/64343 "2024-03-10T17:50:22Z")

</div>

Hi all, Looking for some support in debugging why I can’t run this if prompt based on Streamlit’s documentation App is running on locally on VSCode on Python version 3.12.2. Streamlit is fully updated. The full error …

---

## [Keep getting The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/healthz": dial tcp 10.12.94.241:8501: connect: connection refused](https://discuss.streamlit.io/t/keep-getting-the-service-has-encountered-an-error-while-checking-the-health-of-the-streamlit-app-get-http-localhost-8501-healthz-dial-tcp-10-12-94-241-connect-connection-refused/59565)

<div class="topic-metadata">

**Author:** [@BustosAndrew](https://discuss.streamlit.io/u/BustosAndrew)\
**Replies:** 1\
**Last updated:** [January 30, 2024, 3:33pm UTC](https://discuss.streamlit.io/t/keep-getting-the-service-has-encountered-an-error-while-checking-the-health-of-the-streamlit-app-get-http-localhost-8501-healthz-dial-tcp-10-12-94-241-connect-connection-refused/59565 "2024-01-30T15:33:11Z")

</div>

Python version (3.11) Streamlit version (1.25) Deployment Error message: The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/healthz”: dial tcp 10.12.94.241:…

---

## [OSError on M1 via docker](https://discuss.streamlit.io/t/oserror-on-m1-via-docker/56435)

<div class="topic-metadata">

**Author:** [@Oleksii\_Babych](https://discuss.streamlit.io/u/Oleksii_Babych)\
**Replies:** 1\
**Last updated:** [November 29, 2023, 5:15pm UTC](https://discuss.streamlit.io/t/oserror-on-m1-via-docker/56435 "2023-11-29T17:15:01Z")

</div>

Hello everyone! I attempted to containerize my application on a MacBook M1 and encountered an error. Here is the Dockerfile: FROM python:3.9-slim WORKDIR /app RUN apt-get update && apt-get install -y \\ build-es…

---

## [Seeing issue on MAC M1](https://discuss.streamlit.io/t/seeing-issue-on-mac-m1/54972)

<div class="topic-metadata">

**Author:** [@Naman\_Mehta](https://discuss.streamlit.io/u/Naman_Mehta)\
**Replies:** 1\
**Last updated:** [November 8, 2023, 5:13pm UTC](https://discuss.streamlit.io/t/seeing-issue-on-mac-m1/54972 "2023-11-08T17:13:36Z")

</div>

Seeing following issue: streamlit hello 1 ↵ Traceback (mo…

---

## [Link with image of app, shows app as broken](https://discuss.streamlit.io/t/link-with-image-of-app-shows-app-as-broken/52856)

<div class="topic-metadata">

**Author:** [@oohtmeel](https://discuss.streamlit.io/u/oohtmeel)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 4:10pm UTC](https://discuss.streamlit.io/t/link-with-image-of-app-shows-app-as-broken/52856 "2023-10-27T16:10:04Z")

</div>

Hello, I deployed my app. Looks fine, works great, love it thank you. But when I shared the link with someone, the image that auto generated of the link was a broken app. Not a preview of my app. Er, not the biggest d…

---

## [Error while loading API key](https://discuss.streamlit.io/t/error-while-loading-api-key/40529)

<div class="topic-metadata">

**Author:** [@nikhiljha97](https://discuss.streamlit.io/u/nikhiljha97)\
**Replies:** 1\
**Last updated:** [April 1, 2023, 7:38pm UTC](https://discuss.streamlit.io/t/error-while-loading-api-key/40529 "2023-04-01T19:38:19Z")

</div>

I am trying to load the OpenAI API\_KEY into my main.py script (streamlit application) and while everything runs smoothly when run from local, but as soon as I host my app on streamlit cloud, I get an error \*\*KeyError: T…

---

## [Updating data in in editable dataframe (st.experimental\_data\_editor)](https://discuss.streamlit.io/t/updating-data-in-in-editable-dataframe-st-experimental-data-editor/38868)

<div class="topic-metadata">

**Author:** [@bilalmussa89](https://discuss.streamlit.io/u/bilalmussa89)\
**Replies:** 8\
**Last updated:** [March 7, 2023, 3:23pm UTC](https://discuss.streamlit.io/t/updating-data-in-in-editable-dataframe-st-experimental-data-editor/38868 "2023-03-07T15:23:49Z")

</div>

Summary Hi, I have an editable dataframe which I can use to select / unselect variables for my regression model and I would like to update it with the model coefficients after I run the regression. I have tried df.update…

---

## [Streamlit-extras import issue](https://discuss.streamlit.io/t/streamlit-extras-import-issue/37035)

<div class="topic-metadata">

**Author:** [@Usmanjon\_Abduraimov](https://discuss.streamlit.io/u/Usmanjon_Abduraimov)\
**Replies:** 4\
**Last updated:** [February 2, 2023, 3:27pm UTC](https://discuss.streamlit.io/t/streamlit-extras-import-issue/37035 "2023-02-02T15:27:49Z")

</div>

Streamlit-extras are being imported from another environment I am using Conda environment (python - 3.10.9). And every import is coming from that environment’s path except streamlit-extras. I already installed streamlit-…

---

## [Bad interpreter error with streamlit run](https://discuss.streamlit.io/t/bad-interpreter-error-with-streamlit-run/35909)

<div class="topic-metadata">

**Author:** [@mrwhall](https://discuss.streamlit.io/u/mrwhall)\
**Replies:** 2\
**Last updated:** [January 10, 2023, 1:49pm UTC](https://discuss.streamlit.io/t/bad-interpreter-error-with-streamlit-run/35909 "2023-01-10T13:49:58Z")

</div>

Summary I recently deleted Python 3.10 from my computer as I had both 3.10 and 3.9 installed. I’m now using 3.9. Now when I run streamlit hello/run, I get this error: zsh: /opt/homebrew/bin/streamlit: bad interpreter: /…

[Next page](https://discuss.streamlit.io/tag/macos/92.md?match_all_tags=true&page=1&tags%5B%5D=macos)
