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.
相关推荐
lixin556556几秒前
基于迁移学习的图像分类增强器
java·人工智能·pytorch·python·深度学习·语言模型
翱翔的苍鹰1 小时前
多Agent智能体架构设计思路
人工智能·pytorch·python
小毅&Nora1 小时前
【后端】【Python】① Windows系统下Python环境变量设置指南
python·pip
Rabbit_QL8 小时前
【水印添加工具】从零设计一个工程级 Python 图片水印工具:WaterMask 架构与实现
开发语言·python
曲幽10 小时前
FastAPI多进程部署:定时任务重复执行?手把手教你用锁搞定
redis·python·fastapi·web·lock·works
森屿~~10 小时前
AI 手势识别系统:踩坑与实现全记录 (PyTorch + MediaPipe)
人工智能·pytorch·python
忧郁的橙子.11 小时前
26期_01_Pyhton文件的操作
开发语言·python
小CC吃豆子12 小时前
Python爬虫
开发语言·python
June bug12 小时前
(#字符串处理)字符串中第一个不重复的字母
python·leetcode·面试·职场和发展·跳槽
lixzest13 小时前
PyTorch基础知识简述
人工智能·pytorch·python