texar icon indicating copy to clipboard operation
texar copied to clipboard

ModuleNotFoundError: No module named 'texar'

Open zhunipingan opened this issue 5 years ago • 1 comments

hi, when I try to run the prepare_data.py in the directory of text_style_transfer, I met the following error. can you help me?

Traceback (most recent call last): File "prepare_data.py", line 16, in import texar.tf as tx ModuleNotFoundError: No module named 'texar'

zhunipingan avatar May 27 '20 12:05 zhunipingan

You need to include texar in you python path

Either install through PyPI

pip install texar

or, to use cutting-edge features or develop locally, install from source:

git clone https://github.com/asyml/texar.git
cd texar
pip install .

hunterhector avatar May 27 '20 16:05 hunterhector