Issue
I am using Jupyter Notebook and my OS is windows. I wanted to call shap library but I got this error: ModuleNotFoundError: No module named 'shap'
I installed shap in windows Command Prompt by pip install shap
After that I tried to install that on my notebook with !pip install shap
too but I got this error
"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."
I don't know what permission it needs.
Solution
Try this:
pip install shap --user
Answered By - Tanner
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.