put the following python-websocket_0.2.1.bb files in ./meta-openembedded/meta-python/recipes-devtools/python python-websocket_0.2.1.bb (580 Bytes)
in ./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc, add the following:
IMAGE_INSTALL_append = " python-websocket"
type make to build the yocto image, but there is no need to download the yocto cwe image as there are extra libraries which are needed to load to WP76 module
the required library will be built in following paths:
root@swi-mdm9x28-wp:~# python
Python 2.7.15 (default, Aug 3 2021, 08:12:13)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import websocket
>>> exit()
root@swi-mdm9x28-wp:~#