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.
相关推荐
m0_662577978 分钟前
使用Pandas进行数据分析:从数据清洗到可视化
jvm·数据库·python
淮北49411 分钟前
tmux使用指南
linux·python·html·tmux·md
Byron070715 分钟前
Python面向对象编程(OOP)详解:类、对象、继承、多态、封装
开发语言·python
xdl259919 分钟前
【Python学习】网络爬虫-爬取豆瓣电影评论
爬虫·python·学习
qq_3349031529 分钟前
Python单元测试(unittest)实战指南
jvm·数据库·python
love530love1 小时前
Duix-Avatar 去 Docker Desktop 本地化完整复盘
人工智能·pytorch·windows·python·docker·容器·数字人
character08251 小时前
Django全栈开发入门:构建一个博客系统
jvm·数据库·python
站大爷IP1 小时前
Python操作Redis:高效缓存设计与实战
python
smart margin1 小时前
Python安装教程
开发语言·python
Looooking1 小时前
Python 流程自动化之 DrissionPage 使用示例
python·自动化·drissionpage