参考这篇文章:https://blog.csdn.net/mergerly/article/details/78910722
以及:https://www.cnblogs.com/dda9/p/8612068.html
Install Swig with Python Support
- Download a SWIG Zip for Windows.
- Extract the Zip in a desired installation directory.
- Add the installation directory you extracted to your
PATH.
1.下载 地址:https://sourceforge.net/projects/swig/files/
2.解压,配置环境变量PATH
3.测试: