[Django]-ModuleNotFoundError: No module named 'textencoder' error when upgraded to python 3

3πŸ‘

βœ…

I am able to solve issue by using pyStrich.

First you need to install pyStrich using pip3 install pyStrich and after thatn
What you need to do is just replace from hubarcode.code128 import Code128Encoder with
from pystrich.code128 import Code128Encoder.

I hope it may help others who have been facing same kind of problem.

πŸ‘€Moon

0πŸ‘

pip freeze will show it if you have this module installed in your venv

pip install textencoder to resolve problem

πŸ‘€Terraxer

Leave a comment