python from setuptools import setup from Cython.Build import cythonize setup( ext_modules=cythonize( "your_module.pyx", # 替换为你的 Cython 源文件 language_level=3 # 指定 Python 版本为 3 ) ) 在这个示例中,your_module.pyx 是你的 Cython 源文件。确保替换为实际的文件名。 如果你正在使用 set...
Hi, I think something may have gone missing in the transition to python3. When trying to install it now I get NameError: name 'ext_modules' is not defined. I can see that it is defined here rbdl/python/setup.py.cmake Line 28 in 242bf36 e...