当前位置:网站首页>已解决(pip安装库报错)Consider using the-- user option or check the permissions.
已解决(pip安装库报错)Consider using the-- user option or check the permissions.
2022-08-01 09:34:00 【无 羡ღ】
已解决(pip安装库报错)ERROR: Could not install packages due to an Envi ronmentError: [WinError 5] 拒绝访问。:’d:\pythonjdk\scripts\pip. exe’
Consider using the-- user option or check the permissions.
报错代码
一个粉丝群里的小伙伴用pip安装库的时候报错:

报错截图:

报错翻译
报错内容翻译:
错误:由于环境错误,无法安装软件包:[WinError 5]拒绝访问。:’d: \pythonjdk\scripts\pip。exe’
考虑使用–user选项或检查权限。
报错原因
报错原因:由于安装库的时候权限不够发生了报错
解决办法
安装时加上--user即可:
pip install --user numpy
边栏推荐
- Detailed explanation of JVM runtime data area and JMM memory model
- 自定义类型——枚举、联合
- 笔记。。。。
- Three chess (C language implementation)
- TiDB的真实数据库数据是存在kv和还是pd上?
- Microsoft Azure & NVIDIA IoT developers season I | Azure IoT & NVIDIA Jetson development foundation
- 【应用推荐】常见资源管理器整理,含个人使用体验和产品选型推荐
- How to query database configuration parameters in GBase 8c, such as datestyle
- SQL Server database schema and objects related knowledge notes
- sql server, FULL模式, dbcc shrinkfile(2,1) 不能收缩事务日志,还是原来的大小,是为什么?
猜你喜欢
随机推荐
Comprehensive experiment BGP
redis
HoloView--Customization
leetcode-6133:分组的最大数量
可视化——Superset安装与部署
A problem with writing to the database after PHP gets the timestamp
量化日常工作指标
mysql在cmd的登录及数据库与表的基本操作
《时代》杂志:元宇宙时代将改变世界
Static Pod, Pod Creation Process, Container Resource Limits
Node's traditional and advanced practices for formatting time (moment)
What are the common API security flaws?
sqlserver怎么查询一张表中同人员的交叉日期
BGP综合实验
SkiaSharp 之 WPF 自绘 五环弹动球(案例版)
自定义IP在PCIE中使用
[Software Architecture Mode] The difference between MVVM mode and MVC mode
程序员如何学习开源项目,这篇文章告诉你
How to ensure the consistency of database and cache data?
微服务:事务管理









