Windows下使用pip 安装库时报 [WinError 5]

在windows 的terminal 使用 pip install xlrd 报错:(ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: ‘c:\program files\python38\Lib\site-packages\xlrd’
Consider using the --user option or check the permissions.)
解决办法: 重新输入 pip install --user xlrd

猜你喜欢

转载自blog.csdn.net/weixin_45444963/article/details/103968820