hackappcom / iloot

OpenSource tool for iCloud backup extraction
https://hackapp.com/
634 stars 203 forks source link

greenlet.so #87

Closed willie0 closed 7 years ago

willie0 commented 7 years ago

i cant figure out how to solve this tried to search but i got lost with other issues related:

MAC OSX sierra 10.12.5

Collecting gevent (from -r requirements.txt (line 1)) Downloading gevent-1.2.1-cp27-cp27m-macosx_10_6_intel.whl (1.1MB) 100% |████████████████████████████████| 1.1MB 1.1MB/s Collecting hurry.filesize (from -r requirements.txt (line 2)) Downloading hurry.filesize-0.9.tar.gz Collecting pycrypto (from -r requirements.txt (line 3)) Downloading pycrypto-2.6.1.tar.gz (446kB) 100% |████████████████████████████████| 450kB 263kB/s Collecting protobuf (from -r requirements.txt (line 4)) Downloading protobuf-3.3.0.tar.gz (271kB) 100% |████████████████████████████████| 276kB 3.5MB/s Collecting greenlet>=0.4.10 (from gevent->-r requirements.txt (line 1)) Downloading greenlet-0.4.12.tar.gz (57kB) 100% |████████████████████████████████| 61kB 6.4MB/s Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from hurry.filesize->-r requirements.txt (line 2)) Collecting six>=1.9 (from protobuf->-r requirements.txt (line 4)) Downloading six-1.10.0-py2.py3-none-any.whl Installing collected packages: greenlet, gevent, hurry.filesize, pycrypto, six, protobuf Running setup.py install for greenlet ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/7g/ljmb54k141g3hknj8vt234wm0000gn/T/pip-build-aQqMAH/greenlet/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/7g/ljmb54k141g3hknj8vt234wm0000gn/T/pip-GmfacS-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'greenlet' extension creating build creating build/temp.macosx-10.12-intel-2.7 cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c greenlet.c -o build/temp.macosx-10.12-intel-2.7/greenlet.o creating build/lib.macosx-10.12-intel-2.7 cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.12-intel-2.7/greenlet.o -o build/lib.macosx-10.12-intel-2.7/greenlet.so running install_lib copying build/lib.macosx-10.12-intel-2.7/greenlet.so -> /Library/Python/2.7/site-packages error: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/greenlet.so'

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/7g/ljmb54k141g3hknj8vt234wm0000gn/T/pip-build-aQqMAH/greenlet/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/7g/ljmb54k141g3hknj8vt234wm0000gn/T/pip-GmfacS-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/7g/ljmb54k141g3hknj8vt234wm0000gn/T/pip-build-aQqMAH/greenlet/

willie0 commented 7 years ago

pip install --user

source: https://github.com/gevent/gevent/issues/679

it worked

python iloot.py -h usage: iloot [-h] [--threads THREADS] [--output OUTPUT] [--combined] [--snapshot SNAPSHOT] [--itunes-style] [--item-types ITEM_TYPES [ITEM_TYPES ...]] [--domain DOMAIN] [--keep-existing] apple_id password

positional arguments: apple_id Apple ID password Password

optional arguments: -h, --help show this help message and exit --threads THREADS Download thread pool size --output OUTPUT, -o OUTPUT Output Directory --combined Do not separate each snapshot into its own folder --snapshot SNAPSHOT Only download data the snapshot with the specified ID. Negative numbers will indicate relative position from newest backup, with -1 being the newest, -2 second, etc. --itunes-style Save the files in a flat iTunes-style backup, with mangled names --item-types ITEM_TYPES [ITEM_TYPES ...], -t ITEM_TYPES [ITEM_TYPES ...] Only download the specified item types. Options include address_book, calendar, sms, call_history, voicemails, movies and photos. E.g., --types sms voicemail --domain DOMAIN, -d DOMAIN Limit files to those within a specific application domain --keep-existing Do not download files that has already been downloaded in a previous run. Skip files that already exist locally and that has the same file size locally as in the backup.