Does CMake support Python3?

前端 未结 3 1378
春和景丽
春和景丽 2021-01-08 00:31

I am not able to build a Python wrapper module for my C library via CMake and Swig for Python3. Everything works fine for Python2.x but it looks like CMake cannot find Pytho

3条回答
  •  有刺的猬
    2021-01-08 01:08

    Can you make sure your build directory is clean? I had the exact same issue and after cleaning the dir it worked.

提交回复
热议问题