栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

技术问题解决: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied:

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

技术问题解决: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied:

在我用pip来安装scikit-learn时(pip install scikit-learn==0.23.2), 出现了如下错误:

完整的错误输出信息如下:

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 'C:\Users\author\Anaconda3\envs\seg_deploy\Lib\site-packages\sklearn\svm\_libsvm_sparse.cp36-win_amd64.pyd'
Consider using the `--user` option or check the permissions.

解决办法如下:  pip install --user scikit-learn==0.23.2

有可能你需要删除C:\Users\author\Anaconda3\envs\seg_deploy\Lib\site-packages 下的整个sklearn文件夹。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/587896.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号