windows10,python3.6,py打包pyd文件时出现running build ,必须为win32,win-and64错误,这种情况有没有大佬有遇到呢,帮忙指点一下。
运行python setup.py build_ext -inplace出现
error: --plat-name must be one of ('win32', 'win-amd64')
setup.py文件内容:
from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize(["plan.py"], compiler_directives={'language_level': 2}),
)