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

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

技术问题解决: 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文件夹

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5593286.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-15
下一篇 2022-12-15

发表评论

登录后才能评论

评论列表(0条)

保存