在windows上编译micropython工程出错
从GitHub上下载代码:
GitHub - micropython/micropython: MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
然后就可以在Windows目录下面找到对应的编译文件,这里主要是Windows上对代码进行研究学习使用。
所以会在目录\micropython\ports\windows里找到工程文件micropython.vcxproj。
这时候去进行编译,就会发现需要安装python 3的版本。
不过安装之后,还是会遇到下面的出错:
micropython\ports\windows\variants\manifest.py: Package 'ssl' not found in any known library.
这个就是在文件manifest.py里的一行代码:
require("ssl")