-
Notifications
You must be signed in to change notification settings - Fork 128
No module named 'keras_text_summarization' #10
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
Comments
I got similar error. So basically it happens due to mismatch in the relative path. Are you using Python 2.7? But i am getting another error. "No module named request". I am currently checking if this is due to python version or library dependency, as i already have 'urllib'. Check if you are getting the same error. |
you need to read again about code. I think this error can be solved easily. |
I still got the same error doing it your way |
As @hoanganhtuanfsoft wrote, try running it after adding "import sys sys.path.append('../')" at the top of your code. |
The actual problem is that package 'keras_text_summarization' needs to be installed in order to be used. |
@chen0040 When I run the program on the terminal using the commands given in the readme,it shows the error :
File "seq2seq_glove_train.py", line 5, in
from keras_text_summarization.library.utility.plot_utils import plot_and_save_history
ImportError: No module named 'keras_text_summarization'
Can you please look into the matter and tell what is wrong?
The text was updated successfully, but these errors were encountered: