Python 试图将py文件转换为pyd,但出现错误

Python 试图将py文件转换为pyd,但出现错误,python,pyd,Python,Pyd,我试图将py文件转换为pyd,但每次我转到python setup.py--inplace 它告诉我我有错误,我无法修复它 这是我的setup.py from distutils.core import setup from Cython.Build import cythonize directives = {'linetrace': False, 'language_level': 3} setup(ext_modules = cythonize('pw.pyx')) 错误 这看起

我试图将py文件转换为pyd,但每次我转到
python setup.py--inplace

它告诉我我有错误,我无法修复它

这是我的setup.py

    from distutils.core import setup
from Cython.Build import cythonize
directives = {'linetrace': False, 'language_level': 3}
setup(ext_modules = cythonize('pw.pyx'))
错误

这看起来像是图书馆的问题。尝试升级或降级该库。