Pysyft: Could not find a version that satisfies the requirement torch>=1.0.1 (from syft) (from versions: 0.1.2, 0.1.2.p

Created on 2 Jun 2019  路  5Comments  路  Source: OpenMined/PySyft

I am using a windows machine, with anaconda navigator I installed as per the instructions given in the readme.md

  1. created an enviornment named pysyft and activated it
  2. initialized pip install syft
  3. The error mentioned above is displayed

I am Udacity Student for Secure and Private AI

image

Type

Most helpful comment

Looks you haven't installed the appropriate version of torch or don't have torch installed in your conda environment. So activate your conda environment and install pytorch. Conda environments are a good way to keep separate dependencies. So if you have had a different version of torch in your system which you usually use. You can still use a specific version of torch separately using virtual environments such as conda.

All 5 comments

Looks you haven't installed the appropriate version of torch or don't have torch installed in your conda environment. So activate your conda environment and install pytorch. Conda environments are a good way to keep separate dependencies. So if you have had a different version of torch in your system which you usually use. You can still use a specific version of torch separately using virtual environments such as conda.

Did you execute the following command in your pysyft environment? If not, then please run this command and check.

conda install pytorch torchvision -c pytorch

You should update conda and pip. If it doesn't have torch 1.x it's likely very old.

I have already tried all the mentioned commands I even tried using it within the enviornment in which I had pytorch Installed and I got back the same error my current conda version is 4.5x and the torch version is 1.x @iamtrask

I've the exact same issue seems to me that torch 1.2 (latest) isn't compatible with syft ?.
Any suggestions

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deevashwer picture deevashwer  路  4Comments

MetaT1an picture MetaT1an  路  3Comments

mgale694 picture mgale694  路  3Comments

iamtrask picture iamtrask  路  3Comments

IonesioJunior picture IonesioJunior  路  3Comments