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

ERROR: syft from git+http://github.com/OpenMined/PySyft@dev#egg=syft does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found. #423

Open
lepangdan opened this issue Jul 5, 2022 · 3 comments
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@lepangdan
Copy link

Description

when I run pip install git+http://github.com/OpenMined/PySyft@dev#egg=syft, I encounter an install bug: ERROR: syft from git+http://github.com/OpenMined/PySyft@dev#egg=syft does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

Collecting syft
  Cloning http://github.com/OpenMined/PySyft (to revision dev) to /tmp/pip-install-bkn6q54r/syft_a4d7880d538546e6b1ae6e19c7bb0821
  Running command git clone --quiet http://github.com/OpenMined/PySyft /tmp/pip-install-bkn6q54r/syft_a4d7880d538546e6b1ae6e19c7bb0821
  Resolved http://github.com/OpenMined/PySyft to commit 51bb412427829dbd3babeb67cd28157540bd7467
ERROR: syft from git+http://github.com/OpenMined/PySyft@dev#egg=syft does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

Any help is welcome!

@lepangdan lepangdan added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Jul 5, 2022
@Mobin-khorushi
Copy link

Mobin-khorushi commented Jul 20, 2022

Any fixes on this bug? im facing the same using python 3.8 and following your own tuts

@Merna-Atef
Copy link

Any fixes? I have the same bug and can't run the openmined course tutorials also using python 3.8

@dbckz
Copy link

dbckz commented Dec 22, 2022

Hit the same issue. Can instead just install syft from PyPI (I am guessing syft hadn't been packaged when the course was first released, hence the instruction to install from source), though bear in mind you need to install syft==0.5.x as duet (used in the tutorials) is deprecated from 0.6 onwards.

You'll probably still end up with a bunch of dependency version issues. I've managed to get things seemingly all working ok with the below conda config (I'm running on OSx with M2 processor):

name: openmined-courses
channels:
  - pytorch
  - conda-forge
  - defaults
dependencies:
  - cpuonly
  - dataclasses
  - flask>=1.1.2,<2.0.0
  - jupyter
  - loguru
  - matplotlib
  - nest-asyncio
  - numpy
  - pandas
  - pip
  - pynacl
  - pytorch<=1.8.0,>=1.4.0
  - python>=3.6
  - requests
  - scikit-learn
  - seaborn
  - setuptools
  - sqlitedict
  - statsmodels
  - torchvision<=0.9,>=0.5
  - typeguard
  - typing-extensions
  - websockets
  - pip:
    - aiortc
    - cryptography>=3.4.7
    - dpcontracts
    - forbiddenfruit>=0.1.3
    - protobuf==3.20
    - pydagogy
    - syft==0.5.1

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

4 participants