python小白记录出错日常
第一遍使用
pip install imblearn -i https://pypi.tuna.tsinghua.edu.cn/simple
出现了这样
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'c:\\programdata\\anaconda3\\lib\\site-packages\\scikit_learn-0.24.1.dist-info\\COPYING'
Consider using the `--user` option or check the permissions.
是在告诉我没有权限,我要用管理员身份下载它,看了那么多说加--user 没有成功,然后自己来回试了位置,成功了
更改后:
pip install --user imblearn -i https://pypi.tuna.tsinghua.edu.cn/simple