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.
相关推荐
豌豆花下猫几秒前
Python 潮流周刊#105:Dify突破10万星、2025全栈开发的最佳实践
后端·python·ai
嘻嘻哈哈OK啦13 分钟前
day46打卡
python
木头左18 分钟前
Docker容器化技术概述与实践
python
坚持就完事了38 分钟前
大二下期末
python·numpy·pandas
蹦蹦跳跳真可爱58940 分钟前
Python----目标检测(使用YOLO 模型进行线程安全推理和流媒体源)
人工智能·python·yolo·目标检测·目标跟踪
爱补鱼的猫猫1 小时前
Pytorch知识点2
人工智能·pytorch·python
deephub1 小时前
提升模型泛化能力:PyTorch的L1、L2、ElasticNet正则化技术深度解析与代码实现
人工智能·pytorch·python·深度学习·机器学习·正则化
weixin_422456441 小时前
第N1周:one-hot编码案例
python
Python私教2 小时前
字节跳动开源图标库:2000+图标一键换肤的魔法
python·开源
何双新2 小时前
第2讲、Odoo深度介绍:开源ERP的领先者
python·开源