asyml / texar

Toolkit for Machine Learning, Natural Language Processing, and Text Generation, in TensorFlow. This is part of the CASL project: http://casl-project.ai/
https://asyml.io
Apache License 2.0
2.39k stars 374 forks source link

ModuleNotFoundError: No module named 'texar' #278

Open zhunipingan opened 4 years ago

zhunipingan commented 4 years ago

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'

hunterhector commented 4 years ago

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 .