How to include Python pip3 modules in OpenWRT image

时光怂恿深爱的人放手 提交于 2019-12-06 06:16:12

First, run make menuconfig, and then select Languages -> Python, and then select python3,python3-pip, then save and then exit.

Next, run ./scripts/env new py3-argparse to create a build environment for your changes.

Finally, download the argparse library and place it in files/lib/python3.6/site-packages.

References:

OpenWrt - Build Environments

Python3 - argparse (source)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!