Python3.12 无法导入 distutils包的问题

参见原因

解决办法

# from distutils.core import setup 已废弃
from setuptools import setup # 3.12以后的导包方式

你可能感兴趣的:(python)