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
按照modelscope镜像使用教程启动容器,使用conda为ModelScope library创建对应的Python环境,然后容器内安装并启动ms-swift,出现一个报错:Did not detect the .env file at /root/anaconda3/envs/modelscope/lib/python3.10/site-packages/.env, failed to load.
#2473
Open
Fanxhion opened this issue
Nov 19, 2024
· 3 comments
ms-swift启动过程中报错信息如下,但宿主机可以正常访问到swift服务:
root - ERROR - Did not detect the .env file at /root/anaconda3/envs/modelscope/lib/python3.10/site-packages/.env, failed to load.
The text was updated successfully, but these errors were encountered:
docker run -p 8000:8000 -it -d --name ms modelscope-registry.cn-hangzhou.cr.aliyuncs.com/modelscope-repo/modelscope:ubuntu22.04-py310-torch2.3.1-1.20.0 /bin/bash
docker exec -it ms bash
ms-swift启动过程中报错信息如下,但宿主机可以正常访问到swift服务:
root - ERROR - Did not detect the .env file at /root/anaconda3/envs/modelscope/lib/python3.10/site-packages/.env, failed to load.
The text was updated successfully, but these errors were encountered: