shikras / shikra

Other
710 stars 44 forks source link

A question about the installed "transformers" #19

Closed Lanxin1011 closed 11 months ago

Lanxin1011 commented 11 months ago

Thanks for the awesome work! I encountered a problem when installing the transformers when conducting pip install -r requirement.txt. The Error info is attached below.

Is it possible if I simply run pip install transformers to install this package? Or I must install the "transformers" provided by the "huggingface"?

Looking forward to your reply.

(shikra) zlx@ubuntu-Super-Server:~/shikra$ pip install git+https://github.com/huggingface/transformers@cae78c46 Collecting git+https://github.com/huggingface/transformers@cae78c46 Cloning https://github.com/huggingface/transformers (to revision cae78c46) to /tmp/pip-req-build-vzu547ee Running command git clone --quiet https://github.com/huggingface/transformers /tmp/pip-req-build-vzu547ee fatal: unable to access 'https://github.com/huggingface/transformers/': gnutls_handshake() failed: The TLS connection was non-properly terminated. error: subprocess-exited-with-error

× git clone --quiet https://github.com/huggingface/transformers /tmp/pip-req-build-vzu547ee did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× git clone --quiet https://github.com/huggingface/transformers /tmp/pip-req-build-vzu547ee did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

kq-chen commented 11 months ago

i am not sure if this is a net connection error, we provide a zipfile at this link.