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.
相关推荐
不懒不懒23 分钟前
【形态学图像处理:腐蚀、膨胀与边缘检测的核心技术解析】
python·opencv·计算机视觉
啊阿狸不会拉杆33 分钟前
《计算机视觉:模型、学习和推理》第 18 章-身份与方式模型
人工智能·python·学习·计算机视觉·分类·子空间身份模型·plda
Nontee44 分钟前
Leetcode Top100答案和解释 -- Python版本(矩阵)
python·leetcode·矩阵
love530love1 小时前
ComfyUI 报错解决记录:NumPy/SciPy 不兼容与 OpenCV 扩展模块缺失
人工智能·windows·python·opencv·numpy·scipy·layerstyle
每天都在健身的程序员1 小时前
OpenClaw 部署 + 飞书对接完整教程【防踩坑版】
python·openclaw
lcreek1 小时前
LeetCode2208. 将数组和减半的最少操作次数、LeetCode2406.将区间分为最少组数
python·算法
chilavert3181 小时前
程序员面试经典问题解答:java篇-2
开发语言·python
John Song4 小时前
Python创建虚拟环境的方式对比与区别?
开发语言·python
geovindu4 小时前
python: Bridge Pattern
python·设计模式·桥接模式
搞程序的心海4 小时前
Python面试题(一):5个最常见的Python基础问题
开发语言·python