# opi5_watchdog_python **Repository Path**: lozenyin/opi5_watchdog_python ## Basic Information - **Project Name**: opi5_watchdog_python - **Description**: opi5的看门狗程序,使用pybind11对工程做接口 本工程为学习工程。主要目的在于了解pybind11的使用 - **Primary Language**: C++ - **License**: CC-BY-SA-4.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-03-31 - **Last Updated**: 2023-04-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # opi5_watchdog_python ## 介绍 opi5的看门狗程序,使用pybind11对工程做接口 本工程为学习工程。主要目的在于了解pybind11的使用 ### 关键词 pybind11、cmake、c++、python、watchdog、orange pi ## 部署 需要先安装pybind11库,boots库. 还有一些依赖库 ```bash pip3 install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple pip3 install pytest -i https://pypi.tuna.tsinghua.edu.cn/simple ``` 编译 ```bash ./build.sh ``` 运行 ```bash python3 tset.py ``` ## 当前问题 ### 2023年3月31日 ```bash orangepi@orangepi5:~/tools/opi5_watchdog_python$ python3 tset.py Traceback (most recent call last): File "/home/orangepi/tools/opi5_watchdog_python/tset.py", line 4, in from locke_interface import * ModuleNotFoundError: No module named 'locke_interface' ``` 解决,在cmake文件中修改即可