The directory ‘*‘ or its parent directory is not owned by the current user

python安装编译时出现如下错误

c++ 复制代码
The directory '/home/admin/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/admin/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
相关推荐
Larcher9 分钟前
Python List、切片与大模型:从入门到实践的优雅之旅
python·ai编程
用户63371973590116 分钟前
_winapi.CreateProcess....FileNotFoundError: [WinError 2] 系统找不到指定的文件
python
清水白石00816 分钟前
Python 数据建模指南:dataclass、TypedDict 与 Pydantic 的选型博弈
前端·javascript·python
小郑加油17 分钟前
python_综合训练
开发语言·python
葬送的代码人生17 分钟前
Notebook环境下的List、Slice与LLM大冒险
python·jupyter·api
多彩电脑18 分钟前
Kivy的事件向方法传递的event是什么?
开发语言·python
hnxaoli20 分钟前
统信小程序(十四)支持拖拽的旋图程序
python·小程序
惊梢鸟25 分钟前
一天学会三个实用Python技巧:切片、strip()和LLM接口调用
python
小林ixn30 分钟前
从 List 切片到 LLM 调用:一篇搞定 Python 基础与 AI 接口
python·ai编程
sugar__salt35 分钟前
从Python列表切片到LLM接口实战:零基础AI编程落地教程
开发语言·python·ai·prompt·transformer·ai编程