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.
相关推荐
2601_962885723 分钟前
如何用 Python 计算索提诺比率和卡玛比率?
开发语言·python
小小张说故事7 分钟前
Python 的描述符到底是个啥?property 和 classmethod 底层都靠它,3 个例子讲透
python
kimnoic17 分钟前
Python操作MySQL数据库的两种方式实例分析【pymysql和pandas】
开发语言·python
外收内放17 分钟前
Python基础语法练习题(64)
python·学习
fanjiu202022 分钟前
flask接收消息
python·flask
外收内放23 分钟前
Python基础语法练习题(65)
开发语言·python
iReachers35 分钟前
Termux:把安卓手机变成随身的命令行工具箱
python·安卓·termux·命令行·实用工具
xy_zoe37 分钟前
揭秘市面上那些热门的SEO优化服务机构!
python·facebook
Python图像识别41 分钟前
43-【2027毕设】YOLO11暴力检测识别系统 - Python完整源码+PyQt5界面+训练模型+数据集
python·qt·课程设计
卷无止境44 分钟前
如何让AI Agent老老实实遵守公司代码规范——以Pi Agent为例
后端·python