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.
相关推荐
二川bro5 分钟前
Python模型优化实战:深度学习加速与压缩技巧
python
l***749426 分钟前
SQL Server2022版+SSMS安装教程(保姆级)
后端·python·flask
傻啦嘿哟1 小时前
Python实现PDF文档高效转换为HTML文件:从基础到进阶的完整指南
python·pdf·html
天下无敌笨笨熊2 小时前
ES作为向量库研究
大数据·python·elasticsearch
数据知道2 小时前
FastAPI项目:从零到一搭建一个网站导航系统
python·mysql·fastapi·python web·python项目
程序员爱钓鱼3 小时前
Python 编程实战 · 进阶与职业发展:数据分析与 AI(Pandas、NumPy、Scikit-learn)
后端·python·trae
软件开发技术深度爱好者3 小时前
Python库/包/模块管理工具
开发语言·python
程序员爱钓鱼3 小时前
Python 编程实战 · 进阶与职业发展:Web 全栈(Django / FastAPI)
后端·python·trae
郝学胜-神的一滴3 小时前
Python中一切皆对象:深入理解Python的对象模型
开发语言·python·程序人生·个人开发
烤汉堡4 小时前
Python入门到实战:post请求和响应
python·html