swig no module named _example

前端 未结 3 718
感动是毒
感动是毒 2021-02-15 12:38

I cannot reproduce the basic SWIG example on windows. My error is stated in the SWIG docs and I am sure that I do the 2 fixes they mention. For this error:

>&         


        
3条回答
  •  [愿得一人]
    2021-02-15 13:22

    The file name of the library must be *.pyd. I suppose that you have generated a wrapper code and link it together.

提交回复
热议问题