- Python2 - install with
opkg install python
- Python2-pip - install with
opkg install python-pip
- Python2 packages:
package instructions cffi==1.12.2 install with opkg install python-cffi
pyserial==3.4 install with opkg install python-pyserial
. ❗ This pyserial version currently works with a max baud of 230400. If you'd like 250000 Install this pyserial version usingpython2 setup.py install
greenlet==0.4.15 To build and install it on the box you need gcc
andpython-dev
. Install it with pip 2 not 3pip install greenlet==0.4.15
Otherwise use the *ipk file I crossbuilt.Jinja2==2.10.1 Install it with pip 2 not 3: pip install jinja2
python-can==3.3.4 Install with pip 2 not 3: pip install python-can==3.3.4
-
Python3 - install with
opkg install python3 --force-overwrite
-
Python3-pip - install with
opkg install python3-pip
-
Python3 packages:
package instructions pyserial==3.4 install with opkg install python3-pyserial --force-overwrite
pillow==8.0.1 install with opkg install python3-pillow
tornado==6.1.0 install with opkg install python3-tornado
distro==1.5.0 install with opkg install python3-distro
inotify-simple==1.3.5 install with pip3 install inotify-simple
- if you get a_distutils_hack
error update python3-setuptools to ver>=56.2. OpenWrt repo might not have the latest version so you'd probably have to download it from github and manually install it: Clone setuptools repocd
to root fodler thenpython3 setup.py install
lmdb==1.1.1 I had issues with it - I provided a cross-compiled package inside Packages
. If you don't manage to install it or moonraker still errors on it switch to an older release of moonraker where this package is not a requirementstreaming-form-data==1.8.1 I had issues with it - I provided a cross-compiled package inside Packages
python-jose[cryptography]==3.2.0 Install with pip3 install python-jose
- if you get errors with this install it manually: Clone the python-jose repocd
into it thenpython3 setup.py install
libnacl==1.7.2 Install with pip3 install libnacl
paho-mqtt==1.5.1 Install with pip3 install paho-mqtt==1.5.1
pycurl==7.44.1 Install with opkg install python3-curl
libcurl4 Install with opkgs install libcurl4
zeroconf==0.37.0 Install with pip3 install zeroconf
preprocess-cancellation==0.1.6 Install with pip3 install preprocess-cancellation
jinja2=3.0.3 Install with pip3 install jinja2
dbus-next==0.2.3 Install with pip3 install dbus-next
-
libsodium - install with
opkg install libsodium
-
nginx - install with
opkg install nginx-ssl
- Python3 - install with
opkg install python3 --force-overwrite
- Python3-pip - install with
opkg install python3-pip
- Python3 packages:
package instructions tornado==6.1.0 install with opkg install python3-tornado
- If you can't install python3 packages with opkg or pip and can't finde them inside menuconfig either you can build them by selecting
[*] Advanced configuration options (for developers)
. After that apython3-packages
option will appear insideLanguages
-->Python
-->python3-packages
-> select it with<M>
-> type pacakge names space delimited inside -->() List of python3 pacakges to install on target
lmdb
andstreaming-form-data
were cross-compiled that way. A single*ipk
file installs both python packages.