PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

conda and pycapnp

Open Aedancodes opened this issue 2 years ago • 6 comments

Question

Hi there, I keep running into errors installing Syft and I'm not sure how to proceed.

Further Information

I have followed the documentation and receive an error when attempting to run pip install -U syft --pre . It keeps exiting the install, and I'm really not sure what to do, would appreciate any help. I've tried installing different versions as well, (as recommended by some friends) but no luck.

Screenshots

Screenshot 2023-11-08 at 17 22 05 Screenshot 2023-11-08 at 17 26 29

System Information

  • macOS Ventura
  • Version 13.0.1
  • conda 23.10.0

Aedancodes avatar Nov 08 '23 15:11 Aedancodes

I think there seems to be some issue with conda and pycapnp, I will get the team to investigate this.

madhavajay avatar Feb 14 '24 05:02 madhavajay

can you try installing after lowering the version of cython? for instance - pip install cython==0.29.36

rish-av avatar Apr 05 '24 22:04 rish-av

I had the same issue. I used python 3.10.14 and the error is gone.

Quantum-SMC avatar Apr 19 '24 14:04 Quantum-SMC

I think there seems to be some issue with conda and pycapnp, I will get the team to investigate this.

https://github.com/OpenMined/PySyft/pull/8880

https://github.com/capnproto/pycapnp/issues/359

Smartappli avatar May 31 '24 10:05 Smartappli

https://github.com/conda-forge/pycapnp-feedstock/pull/34

Smartappli avatar Jun 02 '24 18:06 Smartappli

@Smartappli we will bump the version on pypi asap but this does seem like a conda package management issue. Compilation of pycapnp is non trivial.

madhavajay avatar Jun 03 '24 02:06 madhavajay