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
In the newest version of gradio I get the following error.
AttributeError: module 'os' has no attribute 'statvfs'
Have you searched existing issues? 🔎
I have searched and found no existing issues
Reproduction
start any project on newest gradio version
Screenshot
No response
Logs
Running on local URL: http://0.0.0.0:7860
Could not create share link. Please check your internet connection or our status page: https://status.gradio.app.
File "C:\Users\.virtualenvs\pandasai-gradio-9fhMscgt\Lib\site-packages\gradio\blocks.py", line 27, in<module>
from gradio import (
File "C:\Users\.virtualenvs\pandasai-gradio-9fhMscgt\Lib\site-packages\gradio\networking.py", line 18, in<module>
from gradio.routes import App
File "C:\Users\.virtualenvs\pandasai-gradio-9fhMscgt\Lib\site-packages\gradio\routes.py", line 44, in<module>
import gradio.ranged_response as ranged_response
File "C:\Users\.virtualenvs\pandasai-gradio-9fhMscgt\Lib\site-packages\gradio\ranged_response.py", line 12, in<module>
from aiofiles.os import stat as aio_stat
File "C:\Users\.virtualenvs\pandasai-gradio-9fhMscgt\Lib\site-packages\aiofiles\os.py", line 32, in<module>
statvfs = wrap(os.statvfs)
^^^^^^^^^^
AttributeError: module 'os' has no attribute 'statvfs'
The current work around is to comment out "statvfs" components from the os library. Based on my research this function shouldn't even be running on my system since it's only meant for mac os.
Describe the bug
In the newest version of gradio I get the following error.
AttributeError: module 'os' has no attribute 'statvfs'
Have you searched existing issues? 🔎
Reproduction
start any project on newest gradio version
Screenshot
No response
Logs
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: