Closed XinDongol closed 5 years ago
If I install texar-tf first, I can not import texar.torch
after installing texar-pytorch.
However, after uninstalling texar-tf, everything is fine.
Sorry, this is probably due to our installation instructions being out-of-date. Could you try installing both libraries using pip install .
(without -e
)?
works now. Thanks a lot.
I advise that the texar-tf and pytorch version should both support pip install . -e
. Do you konw how to do that? Thanks! @huzecong
@ha-lins Both versions work with pip install . -e
when installed individually, but it will not be possible to install both packages at the same time with -e
. This is because the folders texar/tf/
and texar/torch/
must have a shared parent folder texar/
, and it is not possible to do so with -e
.
It seems that there is some conflict if we install
texar-pytorch
andtexar-tensorflow
in the same env. I got the same error as #130