Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'texar' #278

Open
zhunipingan opened this issue May 27, 2020 · 1 comment
Open

ModuleNotFoundError: No module named 'texar' #278

zhunipingan opened this issue May 27, 2020 · 1 comment
Labels
question Further information is requested

Comments

@zhunipingan
Copy link

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
Copy link
Member

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 .

@ZhitingHu ZhitingHu added the question Further information is requested label Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants