-
Notifications
You must be signed in to change notification settings - Fork 234
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
本地部署agent时,报错Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python #310
Comments
您好,本地部署可以参考这个文档 |
这是我的报错信息,我删除了部分INFO To create a public link, set |
您好,可以提供一下您的python环境以及操作系统吗?根据您提供的文档,您是运行app.py之后报错,还是运行了将appBot.py改名为app.py之后报的错?从您这边提供的报错信息来看是您的Python在尝试初始化哈希随机化时遇到了问题,可能是系统权限问题或者环境依赖问题,您可以实时用部署文档中提供的modelscope-agent镜像拉起来的容器部署一下试试? |
在执行本地部署第二步sudo nvidia-docker run -ti --net host -v /data/work:/data/work registry.cn-hangzhou.aliyuncs.com/modelscope-repo/modelscope-agent:v0.3.0 bash的时候报错了: |
看起来是环境的问题,是否可以考虑千万modelscope的免费notebook上使用。 |
使用的是anaconda的虚拟环境,pythonpath环境变量也添加了modelscopeagent的路径
The text was updated successfully, but these errors were encountered: