openai / swarm

Educational framework exploring ergonomic, lightweight multi-agent orchestration. Managed by OpenAI Solution team.
MIT License
16.48k stars 1.66k forks source link

The ssh install command won't work #36

Open pipinstallyp opened 1 month ago

pipinstallyp commented 1 month ago

Tried installing the package using pip install git+ssh://git@github.com/openai/swarm.git, but seems like with ssh it's not working. Though pip install git+https://github.com/openai/swarm.git worked.

Collecting git+ssh://****@github.com/openai/swarm.git
  Cloning ssh://****@github.com/openai/swarm.git to c:\users\peepsies\appdata\local\temp\pip-req-build-fdnqapav
  Running command git clone --filter=blob:none --quiet 'ssh://****@github.com/openai/swarm.git' 'C:\Users\PEEPSIES\AppData\Local\Temp\pip-req-build-fdnqapav'
  git@github.com: Permission denied (publickey).
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
  error: subprocess-exited-with-error

  × git clone --filter=blob:none --quiet 'ssh://****@github.com/openai/swarm.git' 'C:\Users\PEEPSIES\AppData\Local\Temp\pip-req-build-fdnqapav' 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/openai/swarm.git' '/tmp/pip-req-build-fo6sk5yw' did not run successfully.
│ exit code: 128
╰─> See above for output.
iam-abbas commented 1 month ago

You probably have not yet setup SSH key with your Github.

https://docs.github.com/en/authentication/connecting-to-github-with-ssh

zzstoatzz commented 1 month ago

fwiw @pipinstallyp https://github.com/openai/swarm/pull/38 addresses this in the readme