Notes that I took when messing with a jailbroken iPhone 4 ios 7.0.4 that I am using as a carpc / carputer / dashboard camera.
You must have openssh and wget installed.
Connect into the iPhone via SSH and run the following commands:
.. code-block:: bash
car:~ wget https://yangapp.googlecode.com/files/python_2.7.2-5_iphoneos-arm.deb –no-check-certificate car:~ dpkg -i python_2.7.2-5_iphoneos-arm.deb car:~ root# python –version Python 2.7.2
.. code-block:: bash
wget –no-check-certificate https://github.com/pypa/virtualenv/archive/cb01d9f9c8b6bc968d5e19cdc396e8e8a8bebb39.zip -O virtualenv.zip unzip virtualenv.zip cd virtualenv-* python virtualenv.py ~/env