Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document streamlit c_types module dependency #2382

Open
djudjuu opened this issue Mar 6, 2025 · 0 comments · May be fixed by #2383
Open

document streamlit c_types module dependency #2382

djudjuu opened this issue Mar 6, 2025 · 0 comments · May be fixed by #2383
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@djudjuu
Copy link
Collaborator

djudjuu commented Mar 6, 2025

UPDATE:

tldr: everything works fine, unless python has been built fom source without libffi support. (verified for ubuntu 24 and python 3.12 and 3.13), but to get to that point one has to ignore suggestions to install it.

Documentation description

streamlit interfaces with C functions, so your Python version must support that.

by default Linux has the libffi package installed, but not libffi-dev, which enables compilation from source. if python versions are installed with pyenv they then lack the ability to call c functions.

python -c "import _ctypes"

related: fix the error handling because its not graceful atm

Image

Are you a dlt user?

None

@djudjuu djudjuu added the documentation Improvements or additions to documentation label Mar 6, 2025
@djudjuu djudjuu self-assigned this Mar 6, 2025
@djudjuu djudjuu linked a pull request Mar 6, 2025 that will close this issue
@djudjuu djudjuu linked a pull request Mar 6, 2025 that will close this issue
@rudolfix rudolfix moved this from Todo to In Progress in dlt core library Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant