No module named bidi.algorithm
Asked Answered
T

3

13

I download this lib: python-bidi here, run it with:

python setup.py test 

in my cmd, I have python 2.7 but i get this error:

Traceback (most recent call last):
File "C:\Users\CLIENT\Desktop\IMPLEMENTATION\Affichage.py", line 31, in    <module>
from bidi.algorithm import get_display
ImportError: No module named bidi.algorithm
Telegu answered 30/5, 2016 at 16:13 Comment(0)
D
28

You should install python-bidi using this command:

easy_install python-bidi

or

pip install python-bidi
Dorri answered 30/5, 2016 at 18:43 Comment(0)
T
6

Check python-bidi version in 0.4.2 they used bidi.algorithm and in 0.5.0 they use bidi only

Tophet answered 21/7 at 8:21 Comment(0)
S
5

I had a similar problem where python-bidi was installed but this error kept throwing. As Rajiv Singh says, the solution is to downgrade to python-bidi version 0.4.2 (pip install python-bidi==0.4.2).

Sheridan answered 21/7 at 23:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.