Skip to content

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

@alexbowe

Description

@alexbowe

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

  • OS: Mac OS X
  • OS Version: 13.4.1 (22F82)
  • Language Version: Py 3.9
  • Package Manager Version: conda 23.3.1

Additional Context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions