我激活创建的虚拟环境,但是ROOT用户运用pip install modelscope -i https://mirrors.aliyun.com/pypi/simple但是安装的时侯却报错 #238

Open
opened 2024-10-19 21:15:19 +08:00 by sdzfyy · 1 comment

我激活创建的虚拟环境,但是安装的时侯却报错WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
,这是怎么回事

我激活创建的虚拟环境,但是安装的时侯却报错WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. ,这是怎么回事

这是警告WARNING 提示,非报错,内容是关于以 root 用户身份运行 pip 可能导致权限问题或包冲突。可以用exit退出root用户,使用普通用户安装环境

这是警告WARNING 提示,非报错,内容是关于以 root 用户身份运行 pip 可能导致权限问题或包冲突。可以用exit退出root用户,使用普通用户安装环境
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#238
No description provided.