-
Notifications
You must be signed in to change notification settings - Fork 357
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
Error showing no module named imp #1592
Comments
It seems a problem with python 3.12, can you try 3.11 and see if it works? |
Yes, Short term, you can get around this by reinstalling pip install -U https://github.com/google/ml_collections.git@2699256 Longer term we need |
FYI: I've filed an internal bug to update |
The https://pypi.org/project/ml-collections/ I'm not aware of any other transient deps on |
While trying to run this code on jupyter notebook an error occurred in the line:from lit_nlp import notebook . It further showed that:
File ~/Desktop/LIT_test/venv/lib/python3.12/site-packages/ml_collections/config_flags/config_flags.py:19
16 """Configuration commmand line parser."""
18 import errno
---> 19 import imp
20 import os
21 import re
ModuleNotFoundError: No module named 'imp'.
What might be the issue because it is running fine with google colab but having issue with jupyter notebook.
The text was updated successfully, but these errors were encountered: