Friday, 15 June 2012

Python location on osx in recovery mode -



Python location on osx in recovery mode -

where can find python binary 1 time osx booted in recovery mode? cannot locate in bin directory: /usr/bin, /bin, /sbin. it's pretty curious since python shipped osx default. need run python script in recovery mode , cannot utilize cx_freeze since compiles binaries python3 interpreter instead of python2.6 (which need)

it may not there @ all. os x recovery mode uses separate partition on hdd, i.e. files see there files in /usr/bin of partition, not files in equivalent folder of main hard disk.

the main hard disk available at:

/volumes/macintosh hd

unfortunately paths desperately wrong, python cannot called straight there (e.g. /volumes/macintosh hd/usr/bin/python).

i not know if mounted root without breaking badly. perchance not.

however, might possible install python recovery terminal. need python interpreter or number of external modules? , utilize single-user mode instead of recovery mode? cannot think of many things can in recovery mode not in single-user mode apart operations require main hdd unmounted. (in case cannot utilize python on it.)

python osx osx-mavericks

No comments:

Post a Comment