Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

python310下,安装pycocotools失败,提示低版本cython,实际已安装高版本

Open ye7love7 opened this issue 1 year ago • 1 comments

RT,纯离线环境安装,依赖安装的十分艰难,最后碰到pycocotools,始终无法安装上,求教方法!

ye7love7 avatar Apr 29 '23 10:04 ye7love7

可以去掉pycocotools,另离线环境中gradio建议使用3.21版本

ye7love7 @.***>于2023年4月29日 周六18:42写道:

RT,纯离线环境安装,依赖安装的十分艰难,最后碰到pycocotools,始终无法安装上,求教方法!

— Reply to this email directly, view it on GitHub https://github.com/imClumsyPanda/langchain-ChatGLM/issues/208, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EUJQA7ZKTYVOI3OEADXDTWANANCNFSM6AAAAAAXQEOVIQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

imClumsyPanda avatar Apr 29 '23 11:04 imClumsyPanda

我也遇到了,楼主解决了吗?

sun1122 avatar May 03 '23 12:05 sun1122

apt-get install python3.10-dev ,运行完这句试试呢

aleimu avatar May 06 '23 02:05 aleimu

我也遇到了,楼主解决了吗?

其实不需要这个包,已经运行,但是又碰到了文件上传的问题,不知道是否与这个包有关。

ye7love7 avatar May 06 '23 02:05 ye7love7

apt-get install python3.10-dev ,运行完这句试试呢

纯离线环境,没有这个包,也能跑的起来,但是上传不了文本,不知道什么原因。

ye7love7 avatar May 06 '23 02:05 ye7love7

@ye7love7 请问是什么形式文本上传不了呢?

imClumsyPanda avatar May 06 '23 02:05 imClumsyPanda

我的纯离线安装已经可以了,就是webui内网不可以,一直加载外部js,楼主怎么解决的

sun1122 avatar May 07 '23 15:05 sun1122

离线使用目前应该需要用3.21及以下版本,这个也很头疼,因为也涉及到高版本功能可能报错问题

testStudent @.***>于2023年5月7日 周日23:51写道:

我的纯离线安装已经可以了,就是webui内网不可以,一直加载外部js,楼主怎么解决的

— Reply to this email directly, view it on GitHub https://github.com/imClumsyPanda/langchain-ChatGLM/issues/208#issuecomment-1537475179, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EXHLYSUWCRKAIFHQRLXE7AH7ANCNFSM6AAAAAAXQEOVIQ . You are receiving this because you commented.Message ID: @.***>

imClumsyPanda avatar May 07 '23 16:05 imClumsyPanda

可以去掉pycocotools,另离线环境中gradio建议使用3.21版本 ye7love7 @.>于2023年4月29日 周六18:42写道: RT,纯离线环境安装,依赖安装的十分艰难,最后碰到pycocotools,始终无法安装上,求教方法! — Reply to this email directly, view it on GitHub <#208>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EUJQA7ZKTYVOI3OEADXDTWANANCNFSM6AAAAAAXQEOVIQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

requirements.txt里面已经没有pycocotools包了,但是下载依赖依然有这个需求。该怎么修改呢?

toufunao avatar May 26 '23 06:05 toufunao

离线使用目前应该需要用3.21及以下版本,这个也很头疼,因为也涉及到高版本功能可能报错问题 testStudent @.>于2023年5月7日 周日23:51写道: 我的纯离线安装已经可以了,就是webui内网不可以,一直加载外部js,楼主怎么解决的 — Reply to this email directly, view it on GitHub <#208 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EXHLYSUWCRKAIFHQRLXE7AH7ANCNFSM6AAAAAAXQEOVIQ . You are receiving this because you commented.Message ID: @.>

离线版本gradio=3.12.0亲测可以

toufunao avatar May 26 '23 06:05 toufunao

这个没有办法修改,这玩意还是很多东西的依赖

---原始邮件--- 发件人: @.> 发送时间: 2023年5月26日(周五) 下午2:03 收件人: @.>; 抄送: @.@.>; 主题: Re: [imClumsyPanda/langchain-ChatGLM] python310下,安装pycocotools失败,提示低版本cython,实际已安装高版本 (Issue #208)

可以去掉pycocotools,另离线环境中gradio建议使用3.21版本 ye7love7 @.>于2023年4月29日 周六18:42写道: … RT,纯离线环境安装,依赖安装的十分艰难,最后碰到pycocotools,始终无法安装上,求教方法! — Reply to this email directly, view it on GitHub <#208>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EUJQA7ZKTYVOI3OEADXDTWANANCNFSM6AAAAAAXQEOVIQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

requirements.txt里面已经没有pycocotools包了,但是下载依赖依然有这个需求。该怎么修改呢?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

ye7love7 avatar May 28 '23 04:05 ye7love7