Skip to content
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

getting error during initialization #22

Open
DeepInEvil opened this issue Aug 2, 2023 · 0 comments
Open

getting error during initialization #22

DeepInEvil opened this issue Aug 2, 2023 · 0 comments

Comments

@DeepInEvil
Copy link

DeepInEvil commented Aug 2, 2023

from bengali_analyzer import bengali_analyzer as bla

Error:
Traceback (most recent call last):

File "/opt/conda/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3552, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)

File "/tmp/ipykernel_17/3314749499.py", line 1, in
from bengali_analyzer import bengali_analyzer as bla

File "/opt/conda/lib/python3.7/site-packages/bengali_analyzer/init.py", line 1, in
from .bengalianalyzer import *

File "/opt/conda/lib/python3.7/site-packages/bengali_analyzer/bengalianalyzer.py", line 18, in
from .normalizer import normalize_assets

File "/opt/conda/lib/python3.7/site-packages/bengali_analyzer/normalizer/normalize_assets.py", line 50
while chunk := f.read(CHUNK_SIZE):
^
SyntaxError: invalid syntax

Environment: Python 3.7 ( I guess this operator is only available in 3.9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant