mpcabd / python-arabic-reshaper

Reconstruct Arabic sentences to be used in applications that don't support Arabic
MIT License
401 stars 80 forks source link

Problem of arabic _reshaper module with pyinstaller in Python 3.8 #47

Closed vahidfk closed 4 years ago

vahidfk commented 4 years ago

Hi, I have a problem with the arabic _reshaper module in python 3.8 I use pyinstaller to convert py file to exe But when executing the exe file, it seems that there is a problem with the arabic _reshaper module please guide me

Capture

mpcabd commented 4 years ago

This is an issue with PyInstaller itself, it doesn't recognise non-code files from pip packages automatically.

You can get around it by using stringify for example, or by editing yoru app's spec file manually and include the path to the default-config.ini file in the datas array.

vahidfk commented 4 years ago

My problem was solved Thank you very much for your attention

‫‪Abdullah Diab‬‏ ‪notifications@github.com‬‏ در تاریخ پنجشنبه ۶ اوت ۲۰۲۰ ساعت ۱۶:۳۹ نوشت:‬

This is an issue with PyInstaller itself, it doesn't recognise non-code files from pip packages automatically.

You can get around it by using stringify https://github.com/slightlynybbled/stringify for example, or by editing yoru app's spec file manually and include the path to the default-config.ini file in the datas array.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mpcabd/python-arabic-reshaper/issues/47#issuecomment-669888861, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQM6V7NWRHM7VVVFHUXTDTLR7KMQ7ANCNFSM4PH6KYIQ .

vahidfk commented 4 years ago

Yes, Sure I put the arabic_reshaper folder and the bidi folder and the six module next to the main project file

‫‪ahmed4end‬‏ ‪notifications@github.com‬‏ در تاریخ شنبه ۲۲ اوت ۲۰۲۰ ساعت ۲۰:۳۱ نوشت:‬

@vahidfk https://github.com/vahidfk hey, can you tell me how exactly did you solve it ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mpcabd/python-arabic-reshaper/issues/47#issuecomment-678658159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQM6V7PHH2DA6RYPP3OXY4DSB7TWXANCNFSM4PH6KYIQ .

bilsanAj commented 3 years ago

Yes, Sure I put the arabic_reshaper folder and the bidi folder and the six module next to the main project file ‫‪ahmed4end‬‏ ‪notifications@github.com‬‏ در تاریخ شنبه ۲۲ اوت ۲۰۲۰ ساعت ۲۰:۳۱ نوشت:‬ @vahidfk https://github.com/vahidfk hey, can you tell me how exactly did you solve it ? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#47 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQM6V7PHH2DA6RYPP3OXY4DSB7TWXANCNFSM4PH6KYIQ .

can you tell me please what's the six module that you put at the next of main project