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

Docker less installation: python requirements error #721

Closed
Cyrix126 opened this issue Nov 6, 2024 · 1 comment · Fixed by #725
Closed

Docker less installation: python requirements error #721

Cyrix126 opened this issue Nov 6, 2024 · 1 comment · Fixed by #725

Comments

@Cyrix126
Copy link

Cyrix126 commented Nov 6, 2024

Describe the bug
Trying to install karrio without a docker following https://docs.karrio.io/product/self-hosting/oss/#docker-less-installation
The script https://raw.githubusercontent.com/karrioapi/karrio/HEAD/bin/deploy fails at

pip3 install -r https://raw.githubusercontent.com/karrioapi/karrio/HEAD/requirements.txt

With the error:

Looking in indexes: https://pypi.org/simple, https://karrio.gateway.scarf.sh/simple/
Obtaining karrio from git+ssh://****@github.com/karrioapi/karrio.git@66d40ce6dd372b0021b5bd6dfb2d43e160c1a2b7#egg=karrio&subdirectory=modules/sdk (from -r https://raw.githubusercontent.com/karrioapi/karrio/HEAD/requirements.txt (line 48))
  Cloning ssh://****@github.com/karrioapi/karrio.git (to revision 66d40ce6dd372b0021b5bd6dfb2d43e160c1a2b7) to ./karrio/src/karrio
  Running command git clone --filter=blob:none --quiet 'ssh://****@github.com/karrioapi/karrio.git' /media/ssd/rockserver/karrio/src/karrio
  git@github.com: Permission denied (publickey).
  fatal : Impossible de lire le dépôt distant.

  Veuillez vérifier que vous avez les droits d'accès
  et que le dépôt existe.
  error: subprocess-exited-with-error
  
  × git clone --filter=blob:none --quiet 'ssh://****@github.com/karrioapi/karrio.git' /media/ssd/rockserver/karrio/src/karrio 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 'ssh://****@github.com/karrioapi/karrio.git' /media/ssd/rockserver/karrio/src/karrio 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.

Desktop (please complete the following information):

  • OS: Debian 12
@Cyrix126
Copy link
Author

Cyrix126 commented Nov 6, 2024

replacing git+ssh://git@ by git+https:// inside requirements.txt fix the issue. Any reason to use ssh instead of https for github ?

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

Successfully merging a pull request may close this issue.

1 participant