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

ModuleNotFoundError: Arabic Reshaper #318

Open
pourmand1376 opened this issue Oct 4, 2023 · 0 comments
Open

ModuleNotFoundError: Arabic Reshaper #318

pourmand1376 opened this issue Oct 4, 2023 · 0 comments

Comments

@pourmand1376
Copy link

Currently, I am using docker image for trdg and it seems that arabic reshaper is not installed in the latest version.

Input:

docker run -v .:/app/out/ -v /home/amir/Downloads/B_NAZANIN/:/app/fonts -t belval/trdg:latest trdg --language ar --font_dir /app/fonts/ -c 30

Output:

Missing modules for handwritten text generation.
Traceback (most recent call last):
  File "/env/bin/trdg", line 33, in <module>
    sys.exit(load_entry_point('trdg==1.7.0', 'console_scripts', 'trdg')())
  File "/env/lib/python3.6/site-packages/trdg-1.7.0-py3.6.egg/trdg/run.py", line 409, in main
    from arabic_reshaper import ArabicReshaper
ModuleNotFoundError: No module named 'arabic_reshaper'

As it seems like from the dockerfile and requirements.txt file. It should have no problem. I think if you just rebuild the image, it should be fine.

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