我使用的是木星笔记本,我的操作系统是windows。我想使用代码!pip install shap调用shap库,但是我得到了以下错误:ModuleNotFoundError: No module named 'shap'
我已经在pip install shap的windows提示符中安装了shap,之后我也尝试用!pip install shap在我的笔记本上安装该命令,但是我得到了这个错误
"ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'c:\\programdata\\anaconda3\\lib\\site-packages\\packaging-20.9.dist-info\\direct_url.json'
Consider using the `--user` option or check the permissions."我不知道它需要什么许可。以及我如何解决这个错误。
发布于 2022-10-06 22:02:39
试试这个:
pip install shap --userhttps://stackoverflow.com/questions/73980416
复制相似问题