python中,用pip安装和升级报出现如下报错:
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\\anaconda3\\lib\\site-packages\\~atplotlib\\backends\\_backend_agg.cp36-win_amd64.pyd'
Consider using the `--user` option or check the permissions.
解决方法:给anaconda文件夹权限。