huggingface / knockknock

🚪✊Knock Knock: Get notified when your training ends with only two additional lines of code
MIT License
2.78k stars 234 forks source link

ModuleNotFoundError: No module named 'knockknock' #28

Closed echan00 closed 4 years ago

echan00 commented 5 years ago

Something is wrong with the pip package?

VictorSanh commented 5 years ago

Hello @echan00, Could you share the command you're trying to launch? It's not clear to me where the problem is coming from. Victor

echan00 commented 5 years ago

I installed knockknock via pip and then:

from knockknock import slack_sender

VictorSanh commented 5 years ago

That's extremely strange. I create a new env to try to reproduce your problem, but I couldn't. Can you try a pip show knockknock?

echan00 commented 5 years ago

Yes it is strange. Pip show knockknock showed the correct location of the distribution on my Mac.

VictorSanh commented 5 years ago

Could it be a permission problem? cf this

echan00 commented 5 years ago

Nope, I only have only one user on my Mac. I installed on both python2 and python3 and both didn't work.

VictorSanh commented 5 years ago

I work on Mac too but still can't reproduce the problem. Could you test in a brand new/clean environment (virtualenv, conda env, which ever you prefer...)? I suspect it's a conflict in python or pip versions...

echan00 commented 4 years ago

I suspect it's a conflict in python or pip versions... Yes that's what it was! Thanks