PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

Error installing PySyft(syft package)

Open shuvamlal opened this issue 6 years ago • 9 comments

Getting trouble in installing syft package I have cloned the pysyft repository and installed it in my local pc. After that, I followed the exact steps as written in the INSTALLATION.md.

python setup.py install command runs successfully but while testing using python setup.py test gives me the following error.

Screenshots Error

Desktop

  • Windows 10

shuvamlal avatar Feb 27 '20 11:02 shuvamlal

Make sure you have the latest version of the PySyft master branch and the latest version of syft-proto. This error indicates an incompatibility between your versions of the two.

karlhigley avatar Feb 28 '20 13:02 karlhigley

@shuvamlal9 Any luck with upgrading?

karlhigley avatar Mar 02 '20 04:03 karlhigley

@karlhigley nope still struggling to get the latest version. I did what's given there to install the syft package but I'm not able to load that package.

shuvamlal avatar Mar 02 '20 04:03 shuvamlal

@shuvamlal9 What's the latest commit you have on the master branch?

karlhigley avatar Mar 02 '20 04:03 karlhigley

@karlhigley I have commit 7d61c7 on my master branch. Previously, I wrote a simple article for installing pysfyt and get get rid of zstd error (here), but that doesn't seem to work now.

shuvamlal avatar Mar 18 '20 01:03 shuvamlal

Ah, okay! That's from a few weeks ago, before v0.2.3 was released. I'm about to release v0.2.4 in the next day or two, so you can do one of these things:

  • Update your master branch to the latest commit on the main repo (currently 784cd9df)
  • Install v0.2.3 (and the corresponding version of syft-proto listed in the requirements file)
  • Install v0.2.4 (once it's released)

The zstd dependency has been removed and should no longer be needed in v0.2.4.

karlhigley avatar Mar 18 '20 13:03 karlhigley

@shuvamlal9 Just released v0.2.4. Let me know if that works for you!

karlhigley avatar Mar 18 '20 15:03 karlhigley

(Maybe not the good place but this a feedback I just got) For Windows Users Install Microsoft VIsual C++ 14.0 first helps a lot

LaRiffle avatar Mar 20 '20 10:03 LaRiffle

Thanks @karlhigley, v0.2.4 seems to work. Thanks a lot for the help.

shuvamlal avatar Mar 20 '20 23:03 shuvamlal