You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried with python 3.8 and 3.9 in linux
All other versions wont install the specified versions
steps to reproduce!
tar xzf 1.1.0.tar.gz
cd Handwritten-Character-Recognition-1.1.0/
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 __main__.py
error for Python 3.8.16
Traceback (most recent call last):
File "__main__.py", line 14, in<module>
from mykit.app.button import Button
File "/home/user/dox/git/Handwritten-Character-Recognition-1.1.0/venv/lib/python3.8/site-packages/mykit/app/button.py", line 6, in<module>
class Button:
File "/home/user/dox/git/Handwritten-Character-Recognition-1.1.0/venv/lib/python3.8/site-packages/mykit/app/button.py", line 13, in Button
buttons: dict[str, 'Button'] = {}
TypeError: 'type' object is not subscriptable
error for Python 3.9.16
Traceback (most recent call last):
File "/home/user/dox/git/Handwritten-Character-Recognition-1.1.0/__main__.py", line 14, in<module>
from mykit.app.button import Button
File "/home/user/dox/git/Handwritten-Character-Recognition-1.1.0/venv/lib/python3.9/site-packages/mykit/app/button.py", line 6, in<module>
class Button:
File "/home/user/dox/git/Handwritten-Character-Recognition-1.1.0/venv/lib/python3.9/site-packages/mykit/app/button.py", line 20, in Button
fn: _typing.Callable[[], None] | None = None,
TypeError: unsupported operand type(s) for|: '_CallableGenericAlias' and 'NoneType'
The text was updated successfully, but these errors were encountered:
I've tried with python 3.8 and 3.9 in linux
All other versions wont install the specified versions
steps to reproduce!
error for Python 3.8.16
error for Python 3.9.16
The text was updated successfully, but these errors were encountered: