宝塔用户_emmeik 发表于 2025-1-2 20:16:15

求解,用宝塔安装部署python这个错误怎么解决

在配置python的时候要用pip 配置 flask 但是没有pip 下载pip 这个错误


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.   


宝塔用户_emmeik 发表于 2025-1-2 20:21:20

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.    使用虚拟环境代替:arning
。如果您知道自己在做什么并且想要忽略此警告,请使用--root-
警告:以“root”用户身份运行pip可能会导致权限被破坏,并与系统包管理器产生冲突,可能使您的系统无法使用。建议
user-action选项。

yyu0378 发表于 2025-1-2 22:15:15

因为系统很多管理软件和组件是基于python的,如果直接在系统python库安装,可能会影响系统,一般建议使用虚拟化环境。
页: [1]
查看完整版本: 求解,用宝塔安装部署python这个错误怎么解决