shap
shap copied to clipboard
No module tqdm.auto found here
I believe this is the query being used with in shap package and it gave me this error
I installed tqdm package but that didn't help
What tqdm version do you have? I wonder if we need to specify a specific version dependency
Is this the way seems right to you From tqdm.auto import tqdm Or it should be other way round
Sent from my iPhone
On 27-Jul-2019, at 9:48 AM, Scott Lundberg [email protected] wrote:
What tqdm version do you have? I wonder if we need to specify a specific version dependency
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
That form matches the tqdm docs
On Fri, Jul 26, 2019 at 10:42 PM Anukriti Gupta [email protected] wrote:
Is this the way seems right to you From tqdm.auto import tqdm Or it should be other way round
Sent from my iPhone
On 27-Jul-2019, at 9:48 AM, Scott Lundberg [email protected] wrote:
What tqdm version do you have? I wonder if we need to specify a specific version dependency
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/slundberg/shap/issues/714?email_source=notifications&email_token=AA4RHRLSS2MF2P5U6XYIUHLQBPN4FA5CNFSM4IGNCBZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26EH2Y#issuecomment-515654635, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4RHRL3QKMZK3EMVMELVX3QBPN4FANCNFSM4IGNCBZQ .
I am experiencing the same issue, using shap 0.29.3 and tqdm 4.26.0
Edit: downgrading to 0.29.1 fixed this for me.
@johnmccain that's because the use of auto was added in 0.29.2. https://github.com/tqdm/tqdm has that option documented. But if it is breaking for people perhaps we should not be using it. Just to be clear from tqdm.auto import tqdm
fails in a blank notebook for your install? How about from tqdm.autonotebook import tqdm
?
Same issue here...
I had the same issue, upgrading tqdm
fixed it.
pip install tqdm --upgrade
I still have the same issue with shap 0.35 and tqdm4.43.0 when i run the test script, got an error:
from tqdm.auto import tqdm ModuleNotFoundError: No module named 'tqdm.auto'
pretty sure that shap 0.35 has been successfully install along with tqdm 4.43.0 under: /Library/Python/3.7/lib/python/site-packages/
please help
I had the same issue, upgrading
tqdm
fixed it.pip install tqdm --upgrade
Fit for me, thank you!
Can someone find which exact version of tqdm is needed to have this fixed?
But even if not, a fix is available. So I believe this issue can be closed. CC @slundberg