Traceback (most recent call last):
File "train_ditto.py", line 13, in
from ditto_light.knowledge import *
File "/home/ec2-user/SageMaker/vendor_matching/ditto/ditto_light/knowledge.py", line 5, in
import spacy
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/spacy/init.py", line 14, in
from .cli.info import info # noqa: F401
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/spacy/cli/init.py", line 3, in
from ._util import app, setup_cli # noqa: F401
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/spacy/cli/_util.py", line 8, in
import typer
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/typer/init.py", line 31, in
from .main import Typer, run
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/typer/main.py", line 11, in
from .completion import get_completion_inspect_parameters
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/typer/completion.py", line 10, in
import click._bashcomplete
ModuleNotFoundError: No module named 'click._bashcomplete'
!CUDA_VISIBLE_DEVICES=0 python train_ditto.py \ --task Structured/DBLP-ACM \ --batch_size 32 \ --max_len 128 \ --lr 3e-5 \ --n_epochs 20 \ --finetuning \ --lm roberta \ --fp16 \ --da drop_col
Traceback (most recent call last): File "train_ditto.py", line 13, in
from ditto_light.knowledge import *
File "/home/ec2-user/SageMaker/vendor_matching/ditto/ditto_light/knowledge.py", line 5, in
import spacy
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/spacy/init.py", line 14, in
from .cli.info import info # noqa: F401
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/spacy/cli/init.py", line 3, in
from ._util import app, setup_cli # noqa: F401
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/spacy/cli/_util.py", line 8, in
import typer
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/typer/init.py", line 31, in
from .main import Typer, run
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/typer/main.py", line 11, in
from .completion import get_completion_inspect_parameters
File "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/typer/completion.py", line 10, in
import click._bashcomplete
ModuleNotFoundError: No module named 'click._bashcomplete'