From 77f6a50d45dfa4f2e1bdfbdc7a4b276d15aeff00 Mon Sep 17 00:00:00 2001 From: Andrea La Mantia <32242577+nigoshh@users.noreply.github.com> Date: Sat, 22 May 2021 10:37:32 +0300 Subject: [PATCH] Update environment setup instructions and YAML The PySyft repository structure has recently been changed; as a result, installing syft requires a different command now. Other requirements in the YAML file have been changed to be consistent with the setup script for syft; pip was installing different versions of some packages, uninstalling the versions just installed by conda. This was not only superfluous, it also generated an error for one package (flask). --- README.md | 2 +- openmined_courses_conda_env.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c2fef69..f50abdd 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ pip install -r requirements.txt For now please install Syft like this: ```bash -pip install git+https://github.com/OpenMined/PySyft@dev#egg=syft +pip install git+https://github.com/openmined/PySyft@dev#subdirectory=packages/syft ``` #### Windows Prerequisites diff --git a/openmined_courses_conda_env.yml b/openmined_courses_conda_env.yml index e8126ad..7076c89 100644 --- a/openmined_courses_conda_env.yml +++ b/openmined_courses_conda_env.yml @@ -6,7 +6,7 @@ channels: dependencies: - cpuonly - dataclasses - - flask + - flask>=1.1.2,<2.0.0 - jupyter - loguru - matplotlib @@ -16,7 +16,7 @@ dependencies: - protobuf - pip - pynacl - - pytorch<=1.8.0,>=1.4.0 + - pytorch<=1.8.1,>=1.4.0 - python>=3.6 - requests - scikit-learn @@ -24,14 +24,15 @@ dependencies: - setuptools - sqlitedict - statsmodels - - torchvision<=0.9,>=0.5 + - torchvision<=0.9.1,>=0.5 - typeguard - typing-extensions - websockets + - Werkzeug>=1.0.1,<2.0.0 - pip: - aiortc - cryptography - dpcontracts - forbiddenfruit>=0.1.3 - - git+https://github.com/OpenMined/PySyft@dev#egg=syft + - git+https://github.com/openmined/PySyft@dev#subdirectory=packages/syft - pydagogy