GT4SD / zero-shot-bert-adapters

Implementation of Z-BERT-A: a zero-shot pipeline for unknown intent detection.
https://arxiv.org/abs/2208.07084
MIT License
38 stars 10 forks source link

Failing to install using poetry #7

Open salexln opened 1 year ago

salexln commented 1 year ago

I tried to install the package on a clean env using the following commands:

poetry add  git+https://github.com/GT4SD/zberta.git

and

poetry add git+ssh://git@github.com/github.com/GT4SD/zberta.git

and I getting the following error:

CalledProcessError

  Command '['git', 'clone', '--recurse-submodules', '--', 'ssh://git@github.com/github.com/GT4SD/zberta.git', '/var/folders/5t/lgg8r5ws1xbdm8pp6kh37ytm0000gn/T/pypoetry-git-zbertaeirek49a']' returned non-zero exit status 128.

  at /usr/local/Cellar/poetry/1.1.15/libexec/lib/python3.10/site-packages/poetry/utils/_compat.py:217 in run
      213│                 process.wait()
      214│                 raise
      215│             retcode = process.poll()
      216│             if check and retcode:
    → 217│                 raise CalledProcessError(
      218│                     retcode, process.args, output=stdout, stderr=stderr
      219│                 )
      220│         finally:
      221│             # None because our context manager __exit__ does not use them.

python version: 3.9 & 3.10 os version: MacOS Monterey 12.6 poetry version: 1.1.15

comidan commented 1 year ago

Thank you @salexln for reporting this, I will look into it!