赞
踩
问题1:Could not create share link. Missing file: /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2.
Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:
2. Rename the downloaded file to: frpc_linux_amd64_v0.2
3.Move the file to this location: /usr/local/lib/python3.10/dist-packages/gradio
解决方案:
1.按照给的信息进行操作,三步:下载,重命名,移动
2.因为此文件是我们自己加进去的,需要给予此文件权限(!!!!重要)
到文件根目录下执行:
chmod +x frpc_linux_amd64_v0.2
问题2:Could not create share link. Please check your internet connection or our status page: https://status.gradio.app
这是因为问题一执行不到位导致的
进入frpc_linux_amd64_v0.2文件的目录下执行:
chmod +x frpc_linux_amd64_v0.2
问题3:home/user/.local/lib/python3.10/site-packages/gradio/helpers.py:818: UserWarning: Using the update method is deprecated. Simply return a new object instead, e.g. return gr.Textbox(...) instead of return gr.update(...)
原因是gradio的版本太高,听说的
解决方案:
重装gradio(版本要求(<3.42)
- pip uninstall gradio
-
- pip uninstall gradio==3.40
此操作后可能遇到问题一,按照方案解决即
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。