Page 1 of 1

VoCore2 / python / not installed / can't install

Posted: Sat Dec 01, 2018 3:05 am
by brian327
Having trouble trying to get python to run or install

script.py below is a simple print hello world
print('Hello World")

root@OpenWrt:/opt/tmd# python script.py
-ash: python: not found
root@OpenWrt:/opt/tmd# python-mini script.py
-ash: python-mini: not found
root@OpenWrt:/opt/tmd# opkg install python
Unknown package 'python'.
Collected errors:
* opkg_install_cmd: Cannot install package python.
root@OpenWrt:/opt/tmd# opkg install python-mini
Unknown package 'python-mini'.
Collected errors:
* opkg_install_cmd: Cannot install package python-mini.
root@OpenWrt:/opt/tmd# opkg install python3
Unknown package 'python3'.
Collected errors:
* opkg_install_cmd: Cannot install package python3.

Re: VoCore2 / python / not installed / can't install

Posted: Sun Dec 02, 2018 12:39 pm
by Vonger
First connect VoCore to your local network.
Then opkg update , update the list.
After than you should able to get python.
If still not work, you can download openwrt and compile your firmware with python.