You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip install is complaining that fastrtc dependency for numpy is older than the version that I have.
numpy-2.2.3 is installed.
If you uninstall numpy then install fastrtc and let pip figure out the right version to install then you get numpy-2.1.3 .
When trying to run a streamlit app with a dependency on fastrtc, you get this error:
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 590, in code_to_exec
exec(code, module.__dict__)
File "/private/tmp/fast2.py", line 3, in <module>
from fastrtc import ReplyOnPause, Stream
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/fastrtc/__init__.py", line 9, in <module>
from .stream import Stream
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/fastrtc/stream.py", line 12, in <module>
import gradio as gr
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/gradio/__init__.py", line 3, in <module>
import gradio._simple_templates
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/gradio/_simple_templates/__init__.py", line 1, in <module>
from .simpledropdown import SimpleDropdown
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/gradio/_simple_templates/simpledropdown.py", line 6, in <module>
from gradio.components.base import Component, FormComponent
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/gradio/components/__init__.py", line 40, in <module>
from gradio.components.native_plot import BarPlot, LinePlot, NativePlot, ScatterPlot
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/gradio/components/native_plot.py", line 16, in <module>
import pandas as pd
File "/Users/MOBEIDAT/projects/transformers/lib/python3.11/site-packages/pandas/__init__.py", line 22, in <module>
from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
The text was updated successfully, but these errors were encountered:
pip install is complaining that fastrtc dependency for numpy is older than the version that I have.
numpy-2.2.3 is installed.
If you uninstall numpy then install fastrtc and let pip figure out the right version to install then you get numpy-2.1.3 .
When trying to run a streamlit app with a dependency on fastrtc, you get this error:
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The text was updated successfully, but these errors were encountered: