如何在没有make命令的情况下在openwrt嵌入式设备中安装“pythonflask”包?

2024-06-26 13:12:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我想在基于OpenWRT的路由器中安装python flask模块。包的链接是https://github.com/openwrt/packages/tree/openwrt-18.06/lang/python/Flask,它只包含Makefile。此外,路由器中没有安装“make”命令。你知道吗

-ash: make: not found

带opkg安装命令:-你知道吗

# opkg install python3-flask
Unknown package 'python3-flask'.
Collected errors:
 * opkg_install_cmd: Cannot install package python3-flask.
    # opkg install python3-flask
    Unknown package 'python3-flask'.
    Collected errors:
     * opkg_install_cmd: Cannot install package python3-flask.

我的主要目的是在路由器中启动flask服务器并处理GET/POST请求。你知道吗


Tags: install命令cmdflaskpackagemake路由器unknown