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.
相关推荐
骚戴2 分钟前
大语言模型(LLM)进阶:从闭源大模型 API 到开源大模型本地部署,四种接入路径全解析
java·人工智能·python·语言模型·自然语言处理·llm·开源大模型
柒壹漆4 分钟前
用Python制作一个USB Hid设备数据收发测试工具
开发语言·git·python
东哥很忙XH15 分钟前
python使用PyQt5开发桌面端串口通信
开发语言·驱动开发·python·qt
Dxy123931021628 分钟前
Python的正则表达式入门:从小白到能手
服务器·python·正则表达式
艾上编程35 分钟前
第三章——爬虫工具场景之Python爬虫实战:行业资讯爬取与存储,抢占信息先机
开发语言·爬虫·python
Pyeako36 分钟前
网络爬虫相关操作--selenium库(超详细版)
爬虫·python·selenium
dagouaofei40 分钟前
全面整理6款文档生成PPT工具,PDF转PPT不再难
python·pdf·powerpoint
β添砖java43 分钟前
python第一阶段第10章
开发语言·python
伊玛目的门徒1 小时前
HTTP SSE 流式响应处理:调用腾讯 智能应用开发平台ADP智能体的 API
python·网络协议·http·腾讯智能体·adp·智能应用开发平台
倔强的小石头_1 小时前
Python 从入门到实战(八):类(面向对象的 “对象模板”)
服务器·开发语言·python