-
-
Notifications
You must be signed in to change notification settings - Fork 51
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: module curses has no attribute A_ITALIC #40
Comments
Hello there, current version of epy only supported for python 3.7 or above which support italic in curses and stuff... So really sorry for this, unless you upgrade to latest python, you might need to use older version of epy:
|
@wustho I am using python Perhaps somewhere in epy-reader, you might want to refer to python3 directly?? I mean change any reference of python to python3? Update: I opened epy file, it looks like following, so not sure why the error about A_ITALIC. #!/opt/homebrew/opt/python@3.9/bin/python3.9
# -*- coding: utf-8 -*-
import re
import sys
from epy import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main()) |
@reportaman this is weird... I just read your traceback more thoroughly, and it is indeed using correct python version... So as you guessed, the issue is within the epy, it should handle unavailable italic... I will fix it soon... Thanks for detailed traceback btw. |
@reportaman Hey there just fixed this in |
When I open a epub or mobi, I get the following error. I have not updated epy in my other machine, this does not happen there. Am using the current version of pip3 while reporting this on my current machine.
The text was updated successfully, but these errors were encountered: