Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda Installation #395

Open
bywmm opened this issue Apr 29, 2024 · 1 comment
Open

Conda Installation #395

bywmm opened this issue Apr 29, 2024 · 1 comment

Comments

@bywmm
Copy link

bywmm commented Apr 29, 2024

Hi there, I follow your instruction to install unsloth. When using pip install "unsloth[conda] @ git+https://github.com/unslothai/unsloth.git", I meet the following error. Can you give me any suggestion for this issue?

Collecting unsloth[conda]@ git+https://github.com/unslothai/unsloth.git
  Cloning https://github.com/unslothai/unsloth.git to /tmp/pip-install-4dfu3ocp/unsloth_53a65e86402d49509c7e9f94556a3429
  Running command git clone --filter=blob:none --quiet https://github.com/unslothai/unsloth.git /tmp/pip-install-4dfu3ocp/unsloth_53a65e86402d49509c7e9f94556a3429
  /usr/lib/git-core/git-remote-https: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
  error: subprocess-exited-with-error
  
  × git clone --filter=blob:none --quiet https://github.com/unslothai/unsloth.git /tmp/pip-install-4dfu3ocp/unsloth_53a65e86402d49509c7e9f94556a3429 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 --filter=blob:none --quiet https://github.com/unslothai/unsloth.git /tmp/pip-install-4dfu3ocp/unsloth_53a65e86402d49509c7e9f94556a3429 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.
@erwe324
Copy link

erwe324 commented Apr 29, 2024

See this https://stackoverflow.com/questions/75973072/unable-to-git-clone-by-symbol-lookup-error-lib-x86-64-linux-gnu-libp11-kit-so

Basically try this
conda install -c anaconda git

And then try pip install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants