Open AbhishekPokala opened 4 years ago
Hi @AbhishekPokala
try to install cargo
apt install cargo
I also get an error when I try to install shaloop via pip:
python3 -m pip install shaloop
Collecting shaloop
Downloading shaloop-0.2.1_alpha.7.tar.gz (15.1 MB)
|████████████████████████████████| 15.1 MB 5.4 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Requirement already satisfied: pycparser>=2 in /usr/local/lib/python3.6/dist-packages (from shaloop) (2.20)
Requirement already satisfied: numpy>=1 in /usr/local/lib/python3.6/dist-packages (from shaloop) (1.16.1)
Requirement already satisfied: cffi>=1 in /usr/local/lib/python3.6/dist-packages (from shaloop) (1.14.3)
Building wheels for collected packages: shaloop
Building wheel for shaloop (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpdq1g_2y8
cwd: /tmp/pip-install-_fo_dmgk/shaloop
Complete output (6 lines):
💥 maturin failed
Caused by: Failed to find python interpreter for generating cffi bindings
Caused by: Failed to get information from the python interpreter at python
Caused by: Only python >= 3.5 is supported, while you're using python 2.7
Running `maturin pep517 build-wheel -i python --bindings=cffi --manylinux=2010`
Error: Command '['maturin', 'pep517', 'build-wheel', '-i', 'python', '--bindings=cffi', '--manylinux=2010']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for shaloop
Failed to build shaloop
ERROR: Could not build wheels for shaloop which use PEP 517 and cannot be installed directly
although I use python >=3.5...
Found another solution, that worked well for me. Have a look at the c branch, clone and build locally :)
Question
Trying to install PySyft in Raspberry Pi 4 (32bit, armv7l, Ubuntu). I've installed torch(1.4.0a0+f43194e) with THIS WHEEL and torchvision(0.5.0a0+8cdc814) with THIS WHEEL.
I installed PySyft using:
python3.7 -m pip install syft==0.2.4 --no-deps
When I try to import syft, I get the following error:
import syft
System Information
Additional Context
This is the error when I try to manually install shaloop
python3.7 -m pip install shaloop
And when I try to manually install maturin
python3.7 -m pip install maturin