在我用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文件夹。