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.
相关推荐
幻云20107 小时前
Python深度学习:从筑基到登仙
前端·javascript·vue.js·人工智能·python
仰望星空@脚踏实地8 小时前
本地Python脚本是否存在命令注入风险
python·datakit·命令注入
LOnghas12119 小时前
果园环境中道路与树木结构检测的YOLO11-Faster语义分割方法
python
2501_9445264210 小时前
Flutter for OpenHarmony 万能游戏库App实战 - 蜘蛛纸牌游戏实现
android·java·python·flutter·游戏
飞Link11 小时前
【Django】Django的静态文件相关配置与操作
后端·python·django
Ulyanov11 小时前
从桌面到云端:构建Web三维战场指挥系统
开发语言·前端·python·tkinter·pyvista·gui开发
CCPC不拿奖不改名13 小时前
两种完整的 Git 分支协作流程
大数据·人工智能·git·python·elasticsearch·搜索引擎·自然语言处理
a努力。13 小时前
字节Java面试被问:TCP的BBR拥塞控制算法原理
java·开发语言·python·tcp/ip·elasticsearch·面试·职场和发展
费弗里13 小时前
一个小技巧轻松提升Dash应用debug效率
python·dash
小小测试开发13 小时前
Python浮点型常用方法全解析:从基础到实战
python