Unable to install python
-
I was unable to install python, see the following trace:
root@onionomega:/# opkg install python Installing python (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python_2.7.9-5_ar71xx.ipk. Installing python-light (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-light_2.7.9-5_ar71xx.ipk. Installing python-base (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-base_2.7.9-5_ar71xx.ipk. Installing libffi (3.0.13-1) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/libffi_3.0.13-1_ar71xx.ipk. Installing libbz2 (1.0.6-2) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/libbz2_1.0.6-2_ar71xx.ipk. Installing python-codecs (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-codecs_2.7.9-5_ar71xx.ipk. Installing python-compiler (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-compiler_2.7.9-5_ar71xx.ipk. Installing python-ctypes (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-ctypes_2.7.9-5_ar71xx.ipk. Installing python-db (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-db_2.7.9-5_ar71xx.ipk. Installing libdb47 (4.7.25.4.NC-4.1) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/libdb47_4.7.25.4.NC-4.1_ar71xx.ipk. Installing libxml2 (2.9.2-3) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/libxml2_2.9.2-3_ar71xx.ipk. Installing python-decimal (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-decimal_2.7.9-5_ar71xx.ipk. Installing python-distutils (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-distutils_2.7.9-5_ar71xx.ipk. Installing python-email (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-email_2.7.9-5_ar71xx.ipk. Installing python-gdbm (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-gdbm_2.7.9-5_ar71xx.ipk. Installing libgdbm (1.11-1) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/libgdbm_1.11-1_ar71xx.ipk. Installing python-logging (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-logging_2.7.9-5_ar71xx.ipk. Installing python-multiprocessing (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-multiprocessing_2.7.9-5_ar71xx.ipk. Installing python-ncurses (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-ncurses_2.7.9-5_ar71xx.ipk. Installing python-openssl (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-openssl_2.7.9-5_ar71xx.ipk. Installing python-pydoc (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-pydoc_2.7.9-5_ar71xx.ipk. Installing python-sqlite3 (2.7.9-5) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-sqlite3_2.7.9-5_ar71xx.ipk. Installing libsqlite3 (3081101-1) to root... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/libsqlite3_3081101-1_ar71xx.ipk. Configuring python-base. Configuring libffi. Configuring libbz2. Configuring python-light. Configuring python-codecs. Configuring libxml2. Configuring libdb47. Configuring python-db. Configuring python-decimal. Configuring python-distutils. Configuring python-pydoc. Configuring python-email. Configuring python-ctypes. Configuring libgdbm. Configuring python-gdbm. Configuring python-ncurses. Configuring python-sqlite3. Configuring python-compiler. Configuring python-openssl. Configuring python-multiprocessing. Configuring python-logging. Collected errors: * pkg_write_filelist: Failed to open //usr/lib/opkg/info/libsqlite3.list: No space left on device. * opkg_install_pkg: Failed to extract data files for libsqlite3. Package debris may remain! * opkg_install_cmd: Cannot install package python.
Please help!
-
It ran out of space, yet the only other thing I installed was git..
-
I installed
python-light
and that was installable. But beware you will need 50MB or more to install a full-stack:https://wiki.openwrt.org/doc/software/python
You can also attempt to use USB-Storage as root-fs:
http://gdgbasel.com/2015/12/06/installing-python-on-onion-omega/
That should give you more than enough space to install anything you want.
-
These are the packages I installed to get things like HTTP request working:
- okpg install python-light
- opkg install python-codecs
- okpg install python-openssl
- okpg install python-logging
And for the various expansion: - pkg install pyOledExp
As you said there is no room for full python.
-
@Valentin-Haenel There are also instructions in the Omega Wiki for using USB storage as root fs - see: https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs
I use it all the time since I want to use Java running under jamvm and this also needs more storage than the Omega standardly has.
-
Hi,
I have done the following here and installed python but there isn't anything in/usr/bin/python
. I installed python usingopkg install python
and it has created a directory under/usr/lib/python2.7
.
Any tips?
-
Bump, anyone?
-
@Michael-Vowles doesn't sound like you got a complete install of python. Once I set up /overlay on an SD card I installed python and it looked like this:
opkg install python
Installing python (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python_2.7.13-3_mipsel_24kc.ipk.
Installing python-light (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-light_2.7.13-3_mipsel_24kc.ipk.
Installing python-base (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-base_2.7.13-3_mipsel_24kc.ipk.
Installing python-ctypes (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-ctypes_2.7.13-3_mipsel_24kc.ipk.
Installing python-pydoc (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-pydoc_2.7.13-3_mipsel_24kc.ipk.
Installing python-multiprocessing (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-multiprocessing_2.7.13-3_mipsel_24k
c.ipk.
Installing python-logging (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-logging_2.7.13-3_mipsel_24kc.ipk.
Installing python-codecs (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-codecs_2.7.13-3_mipsel_24kc.ipk.
Installing python-sqlite3 (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-sqlite3_2.7.13-3_mipsel_24kc.ipk.
Installing python-gdbm (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-gdbm_2.7.13-3_mipsel_24kc.ipk.
Installing python-email (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-email_2.7.13-3_mipsel_24kc.ipk.
Installing python-distutils (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-distutils_2.7.13-3_mipsel_24kc.ipk.
Installing python-openssl (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-openssl_2.7.13-3_mipsel_24kc.ipk.
Installing python-xml (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-xml_2.7.13-3_mipsel_24kc.ipk.
Installing python-compiler (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-compiler_2.7.13-3_mipsel_24kc.ipk.
Installing python-db (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-db_2.7.13-3_mipsel_24kc.ipk.
Installing python-decimal (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-decimal_2.7.13-3_mipsel_24kc.ipk.
Installing python-unittest (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-unittest_2.7.13-3_mipsel_24kc.ipk.
Installing python-ncurses (2.7.13-3) to root...
Downloading http://repo.onion.io/omega2/packages/packages/python-ncurses_2.7.13-3_mipsel_24kc.ipk.
Configuring python-base.
Configuring python-light.
Configuring python-codecs.
Configuring python-db.
Configuring python-decimal.
Configuring python-distutils.
Configuring python-pydoc.
Configuring python-ctypes.
Configuring python-multiprocessing.
Configuring python-logging.
Configuring python-sqlite3.
Configuring python-gdbm.
Configuring python-email.
Configuring python-openssl.
Configuring python-xml.
Configuring python-compiler.
Configuring python-unittest.
Configuring python-ncurses.
Configuring python.
root@Omega-685F:/etc/opkg# which python
/usr/bin/python
root@Omega-685F:/etc/opkg# ls -la /usr/bin/python
lrwxrwxrwx 1 root root 9 Jan 16 19:31 /usr/bin/python -> python2.7best regards,
Larry
-
@Larry-Battraw Btw, Omega1 and Omega2 do not use the same CPU.