-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'ipython_genutils'
#102
Comments
thanks for the report @yasirroni I need to look a bit further but it's likely this is caused by a combination of pkg version. See the source repo: https://github.com/ipython/ipython_genutils It implies we shouldn't be depending on it, so let's try figure out how to resolve this issue without adding the dependency. |
On my use case, simply adding |
Another issue
See https://github.com/yasirroni/matpower-pip/actions/runs/4355686258/jobs/7627873484 |
After some digging, it seems that the bug might be from a cell containing |
thanks for the follow up @yasirroni , think I'll leave this one open as a bug for now, given that we should be eliminating internal errors (in favour of something more helpful) |
Sure. This kind of bug is pretty silent and challenging to solve! Hope you can catch this error and return a proper message for user. |
Describe the bug
In a rare case, an error might happen due to
ipython_genutils
not properly installed. That is becausenbmake
did not requireipython_genutils
norjupyter
explicitly. Others also get this behavior while using IPython ipython/ipython_genutils#3.On my use case, the error happen on
matpower-pip
workflow and fixed with a commit yasirroni/matpower-pip@ae73edfTo Reproduce
I don't know exactly how to reproduce, but install
nbmake
seems not installingipython_genutils
Expected behavior
Whenever someone using
nbmake
, we can assume that they are going to testIPython
file. Then, isn't logical to makenbmake
require at leastjupyter
?Screenshots
Desktop (please complete the following information):
If not installing jupyter by default is the expected behavior, please ignore and close this issue.
The text was updated successfully, but these errors were encountered: