linuxscout / pyarabic

pyarabic
GNU General Public License v3.0
450 stars 85 forks source link

Import Error - ModuleNotFoundError: No module named 'six' #50

Closed Hako-Ben closed 3 years ago

Hako-Ben commented 3 years ago

Salam Dr.Taha, :wave:

There is an ImportError when importing module number.py :confused:

To reproduce

>>> import pyarabic.number as number 

Error Report

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "\venv\lib\site-packages\pyarabic\number.py", line 27, in <module>
    from six import text_type as unicode
ModuleNotFoundError: No module named 'six'

My System Version

Temporary fix Installing package six using pip install six

Suggestions I suggest adding six "current version" into the dependencies of pyarabic within install_requires I'm relatively new to Python "couples of months" and this suggestion is based on my humble experience with Python. :pleading_face: This is also my first issue submission into GitHub so please bear with me! :sweat_smile:

linuxscout commented 3 years ago

Thanks a lot, I solved it, It will be available soon.