Closed aianta closed 2 years ago
You should not need to move fairseq_ext
that should be at the heart of the problem, if I have to guess.
Try a new install and ensure you use the --editable
flag as in
pip install --editable .
Tried again with a completely fresh instance of Ubuntu 20.04 on WSL2 and everything worked like a charm. Thanks! Not quite sure what was wrong with the earlier setup.
I'm trying to get going on wsl2, and have been running into some trouble getting set up.
At first the scripts were searching for
fairseq_ext
on the wrong path: specifically I was gettingFileNotFound
errors on the path/ibm-amr/fairseq_ext
. This made sense becausefairseq_ext
was of course located in/ibm-amr/transition-amr-parser/fairseq_ext
.So I went ahead and did a global find & replace changing
../fairseq_ext
to./fairseq_ext
, which got me a little further. Unfortunately, the problem then was:Renaming the folder did not help, but I reasoned, if the issue is a duplicate module, that might suggest that
fairseq_ext
was in fact already loaded. So I went ahead and commented out all instances ofutils.import_user_module(usr_args)
and sure enough, the minimal test proceeded further.I'm now stuck on:
This is my
conda list
:The
correctly_installed.sh
script returns:Are the pytorch libraries the issue here?