OpenMined / SyMPC

A SMPC companion library for Syft
MIT License
96 stars 39 forks source link

error: pathspec 'sympc-dev' did not match any file(s) known to git #400

Open alexbowe opened 1 year ago

alexbowe commented 1 year ago

Description

After git cloning this repository, I try to run the first couple of commands (set up and activate a conda env), and hit this issue when installing requirements:

(sympc) alex.bowe@C02FT728ML7H PySMPC % pip install -r requirements.txt
Collecting syft@ git+https://github.com/OpenMined/PySyft@sympc-dev#egg=syft&subdirectory=packages/syft (from -r requirements.txt (line 2))
  Cloning https://github.com/OpenMined/PySyft (to revision sympc-dev) to /private/var/folders/4m/fntqthbd4n5699gf4xzlbhvw0000gq/T/pip-install-he24j18c/syft_4c23a9c0436f46f0b436b21618201589
  Running command git clone --filter=blob:none --quiet https://github.com/OpenMined/PySyft /private/var/folders/4m/fntqthbd4n5699gf4xzlbhvw0000gq/T/pip-install-he24j18c/syft_4c23a9c0436f46f0b436b21618201589
  WARNING: Did not find branch or tag 'sympc-dev', assuming revision or ref.
  Running command git checkout -q sympc-dev
  error: pathspec 'sympc-dev' did not match any file(s) known to git
  error: subprocess-exited-with-error

  × git checkout -q sympc-dev did not run successfully.
  │ exit code: 1
  ╰─> 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 checkout -q sympc-dev did not run successfully.
│ exit code: 1
╰─> See above for output.

How to Reproduce

See above.

Expected Behavior

It should install all requirements successfully.

Screenshots

N/A

System Information

Additional Context

Add any other context about the problem here.

Qilowa commented 10 months ago

did you manage to find the issue ? i am having the same problem